Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
2.2 KiB

  1. /*** data.c - Global Data
  2. *
  3. * This module contains global data declaration.
  4. *
  5. * Copyright (c) 1996,1997 Microsoft Corporation
  6. * Author: Michael Tsang (MikeTs)
  7. * Created 09/07/96
  8. *
  9. * MODIFICATION HISTORY
  10. */
  11. #include "pch.h"
  12. #ifdef DEBUG
  13. DWORD gdwcMemObjs = 0;
  14. #endif
  15. #pragma warning(disable: 4054)
  16. ARGTYPE FAR ArgTypes[] =
  17. {
  18. {"?", AT_ACTION, 0, (VOID *)PrintHelp, 0, NULL},
  19. {"Fo", AT_STRING, PF_SEPARATOR, &gpszAMLFile, 0, NULL},
  20. {"Fa", AT_STRING, PF_SEPARATOR, &gpszASMFile, 0, NULL},
  21. {"Fl", AT_STRING, PF_SEPARATOR, &gpszLSTFile, 0, NULL},
  22. {"Fn", AT_STRING, PF_SEPARATOR, &gpszNSDFile, 0, NULL},
  23. #ifdef __UNASM
  24. {"d", AT_ENABLE, 0, &gdwfASL, ASLF_DUMP_BIN, NULL},
  25. {"u", AT_ENABLE, 0, &gdwfASL, ASLF_UNASM, NULL},
  26. {"c", AT_ENABLE, 0, &gdwfASL, ASLF_CREAT_BIN,NULL},
  27. {"tab", AT_STRING, PF_SEPARATOR, &gpszTabSig, 0, NULL},
  28. #endif
  29. #ifdef TRACING
  30. {"t", AT_NUM, PF_SEPARATOR, &giTraceLevel, 0, NULL},
  31. {"l", AT_STRING, PF_SEPARATOR, &gpszTraceFile, 0, NULL},
  32. #endif
  33. {"nologo",AT_ENABLE, 0, &gdwfASL, ASLF_NOLOGO, NULL},
  34. {"", 0, 0, NULL, 0, NULL}
  35. };
  36. #pragma warning(default: 4054)
  37. PROGINFO ProgInfo = {NULL, NULL, NULL, NULL};
  38. #ifdef __UNASM
  39. HANDLE ghVxD = NULL;
  40. #endif
  41. char gszAMLName[_MAX_FNAME] = {0};
  42. char gszLSTName[_MAX_FNAME] = {0};
  43. PSZ gpszASLFile = NULL;
  44. PSZ gpszAMLFile = NULL;
  45. PSZ gpszASMFile = NULL;
  46. PSZ gpszLSTFile = NULL;
  47. PSZ gpszNSDFile = NULL;
  48. PSZ gpszTabSig = NULL;
  49. DWORD gdwfASL = 0;
  50. PCODEOBJ gpcodeRoot = NULL;
  51. PCODEOBJ gpcodeScope = NULL;
  52. PNSOBJ gpnsNameSpaceRoot = NULL;
  53. PNSOBJ gpnsCurrentScope = NULL;
  54. PNSOBJ gpnsCurrentOwner = NULL;
  55. PNSCHK gpnschkHead = NULL;
  56. PNSCHK gpnschkTail = NULL;
  57. DWORD gdwFieldAccSize = 0;
  58. DESCRIPTION_HEADER ghdrDDB = {0};
  59. char SymCharTable[] = "{}(),/*";
  60. char * FAR gapszTokenType[] = {"ASL/User Term", "String", "Character", "Number",
  61. "Symbol", "Space"};