Source code of Windows XP (NT5)
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.

142 lines
3.0 KiB

  1. /************************************************************************/
  2. /* */
  3. /* RCPP - Resource Compiler Pre-Processor for NT system */
  4. /* */
  5. /* GRAMMAR.H - Grammar definitions for terminals */
  6. /* */
  7. /* 27-Nov-90 w-BrianM Update for NT from PM SDK RCPP */
  8. /* */
  9. /************************************************************************/
  10. #define L_NOTOKEN 1
  11. #define L_IDENT 2
  12. #define L_STRING 3
  13. #define L_CFLOAT 4
  14. #define L_CDOUBLE 5
  15. #define L_CLDOUBLE 6
  16. #define L_CINTEGER 7
  17. #define L_LONGINT 8
  18. #define L_CUNSIGNED 9
  19. #define L_LONGUNSIGNED 10
  20. #define L_AUTO 11
  21. #define L_STATIC 12
  22. #define L_EXTERN 13
  23. #define L_REGISTER 14
  24. #define L_TYPEDEF 15
  25. #define L_FORTRAN 16
  26. #define L_PASCAL 17
  27. #define L_C 18
  28. #define L_INTERRUPT 19
  29. #define L_SAVEREGS 20
  30. #define L_LOADDS 21
  31. #define L_EXPORT 22
  32. #define L_ASM 23
  33. #define L_NEAR 24
  34. #define L_FAR 25
  35. #define L_HUGE 26
  36. #define L_CONST 27
  37. #define L_VOLATILE 28
  38. #define L_CHAR 29
  39. #define L_INT 30
  40. #define L_FLOAT 31
  41. #define L_DOUBLE 32
  42. #define L_SHORT 33
  43. #define L_LONG 34
  44. #define L_VOID 35
  45. #define L_SIGNED 36
  46. #define L_UNSIGNED 37
  47. #define L_ENUM 38
  48. #define L_ENUM_TAG 39
  49. #define L_STRUCT 40
  50. #define L_STRUCT_TAG 41
  51. #define L_UNION 42
  52. #define L_UNION_TAG 43
  53. #define L_AND 44
  54. #define L_ANDAND 45
  55. #define L_ANDEQ 46
  56. #define L_ASSIGN 47
  57. #define L_BIT 48
  58. #define L_COLON 49
  59. #define L_COMMA 50
  60. #define L_DECR 51
  61. #define L_DIV 52
  62. #define L_DIVEQ 53
  63. #define L_EQUALS 54
  64. #define L_EXCLAIM 55
  65. #define L_EXTRACT 56
  66. #define L_GT 57
  67. #define L_GTEQ 58
  68. #define L_INCR 59
  69. #define L_LBRACK 60
  70. #define L_LSHFTEQ 61
  71. #define L_LSHIFT 62
  72. #define L_LT 63
  73. #define L_LTEQ 64
  74. #define L_MINUS 65
  75. #define L_MINUSEQ 66
  76. #define L_MOD 67
  77. #define L_MODEQ 68
  78. #define L_MULT 69
  79. #define L_MULTEQ 70
  80. #define L_NOTEQ 71
  81. #define L_OR 72
  82. #define L_OREQ 73
  83. #define L_OROR 74
  84. #define L_PERIOD 75
  85. #define L_PLUS 76
  86. #define L_PLUSEQ 77
  87. #define L_POINTSTO 78
  88. #define L_PREDECR 79
  89. #define L_PREINCR 80
  90. #define L_QUEST 81
  91. #define L_RSHFTEQ 82
  92. #define L_RSHIFT 83
  93. #define L_TILDE 84
  94. #define L_UMINUS 85
  95. #define L_XOR 86
  96. #define L_XOREQ 87
  97. #define L_ARG 88
  98. #define L_ASOP 89
  99. #define L_BREAK 90
  100. #define L_CASE 91
  101. #define L_CAST 92
  102. #define L_CLASS 93
  103. #define L_CONSTANT 94
  104. #define L_CONTINUE 95
  105. #define L_DEFAULT 96
  106. #define L_DIVOP 97
  107. #define L_DO 98
  108. #define L_ELLIPSIS 99
  109. #define L_ELSE 100
  110. #define L_ENTRY 101
  111. #define L_EOF 102
  112. #define L_EQUOP 103
  113. #define L_FILE 104
  114. #define L_FOR 105
  115. #define L_FUNCTION 106
  116. #define L_GOTO 107
  117. #define L_IF 108
  118. #define L_INCOP 109
  119. #define L_INIT 110
  120. #define L_LCURLY 111
  121. #define L_LINE 112
  122. #define L_LPAREN 113
  123. #define L_INTRINSIC 114
  124. #define L_MODIFIER 115
  125. #define L_MODULE 116
  126. #define L_RBRACK 117
  127. #define L_RCURLY 118
  128. #define L_RELOP 119
  129. #define L_RETURN 120
  130. #define L_RPAREN 121
  131. #define L_SELF 122
  132. #define L_SEMI 123
  133. #define L_SHIFTOP 124
  134. #define L_SIZEOF 125
  135. #define L_STUNOP 126
  136. #define L_SW 127
  137. #define L_SWEXP 128
  138. #define L_TYPE 129
  139. #define L_TYPENAME 130
  140. #define L_UPLUS 131
  141. #define L_WHILE 132