386BSD 0.1 development
[unix-history] / usr / src / usr.bin / awk / parse.h
CommitLineData
a7e60862
WJ
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 PRINT 310
55#define PRINTF 311
56#define SPLIT 312
57#define MATCH_FUNC 313
58#define SUB 314
59#define GSUB 315
60#define DO 316
61#define WHILE 317
62#define FOR 318
63#define BREAK 319
64#define CONTINUE 320
65#define IF 321
66#define ELSE 322
67#define DELETE 323
68#define BEGIN 324
69#define END 325
70#define EXIT 326
71#define NEXT 327
72#define RETURN 328
73#define FUNCTION 329
74typedef union{
75CELL *cp ;
76SYMTAB *stp ;
77INST *start ; /* code starting address */
78PF_CP fp ; /* ptr to a (print/printf) or (sub/gsub) function */
79BI_REC *bip ; /* ptr to info about a builtin */
80FBLOCK *fbp ; /* ptr to a function block */
81ARG2_REC *arg2p ;
82CA_REC *ca_p ;
83int ival ;
84PTR ptr ;
85} YYSTYPE;
86extern YYSTYPE yylval;