home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / MAWK113.ZIP / mawk113 / parse.h < prev    next >
C/C++ Source or Header  |  1992-08-26  |  2KB  |  88 lines

  1. #define UNEXPECTED 257
  2. #define BAD_DECIMAL 258
  3. #define NL 259
  4. #define SEMI_COLON 260
  5. #define LBRACE 261
  6. #define RBRACE 262
  7. #define LBOX 263
  8. #define RBOX 264
  9. #define COMMA 265
  10. #define IO_OUT 266
  11. #define ASSIGN 267
  12. #define ADD_ASG 268
  13. #define SUB_ASG 269
  14. #define MUL_ASG 270
  15. #define DIV_ASG 271
  16. #define MOD_ASG 272
  17. #define POW_ASG 273
  18. #define QMARK 274
  19. #define COLON 275
  20. #define OR 276
  21. #define AND 277
  22. #define IN 278
  23. #define MATCH 279
  24. #define EQ 280
  25. #define NEQ 281
  26. #define LT 282
  27. #define LTE 283
  28. #define GT 284
  29. #define GTE 285
  30. #define CAT 286
  31. #define GETLINE 287
  32. #define PLUS 288
  33. #define MINUS 289
  34. #define MUL 290
  35. #define DIV 291
  36. #define MOD 292
  37. #define NOT 293
  38. #define UMINUS 294
  39. #define IO_IN 295
  40. #define PIPE 296
  41. #define POW 297
  42. #define INC_or_DEC 298
  43. #define DOLLAR 299
  44. #define FIELD 300
  45. #define LPAREN 301
  46. #define RPAREN 302
  47. #define DOUBLE 303
  48. #define STRING_ 304
  49. #define RE 305
  50. #define ID 306
  51. #define D_ID 307
  52. #define FUNCT_ID 308
  53. #define BUILTIN 309
  54. #define LENGTH 310
  55. #define PRINT 311
  56. #define PRINTF 312
  57. #define SPLIT 313
  58. #define MATCH_FUNC 314
  59. #define SUB 315
  60. #define GSUB 316
  61. #define DO 317
  62. #define WHILE 318
  63. #define FOR 319
  64. #define BREAK 320
  65. #define CONTINUE 321
  66. #define IF 322
  67. #define ELSE 323
  68. #define DELETE 324
  69. #define BEGIN 325
  70. #define END 326
  71. #define EXIT 327
  72. #define NEXT 328
  73. #define RETURN 329
  74. #define FUNCTION 330
  75. typedef union{
  76. CELL *cp ;
  77. SYMTAB *stp ;
  78. INST  *start ; /* code starting address */
  79. PF_CP  fp ;  /* ptr to a (print/printf) or (sub/gsub) function */
  80. BI_REC *bip ; /* ptr to info about a builtin */
  81. FBLOCK  *fbp  ; /* ptr to a function block */
  82. ARG2_REC *arg2p ;
  83. CA_REC   *ca_p  ;
  84. int   ival ;
  85. PTR   ptr ;
  86. } YYSTYPE;
  87. extern YYSTYPE yylval;
  88.