Annotation of rpl/rplawk/y.tab.h, revision 1.3
1.3 ! bertrand 1: /* A Bison parser, made by GNU Bison 3.0.4. */
1.1 bertrand 2:
1.3 ! bertrand 3: /* Bison interface for Yacc-like parsers in C
1.1 bertrand 4:
1.3 ! bertrand 5: Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
1.1 bertrand 6:
1.3 ! bertrand 7: This program is free software: you can redistribute it and/or modify
1.1 bertrand 8: it under the terms of the GNU General Public License as published by
1.3 ! bertrand 9: the Free Software Foundation, either version 3 of the License, or
! 10: (at your option) any later version.
1.1 bertrand 11:
12: This program is distributed in the hope that it will be useful,
13: but WITHOUT ANY WARRANTY; without even the implied warranty of
14: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15: GNU General Public License for more details.
16:
17: You should have received a copy of the GNU General Public License
1.3 ! bertrand 18: along with this program. If not, see <http://www.gnu.org/licenses/>. */
1.1 bertrand 19:
20: /* As a special exception, you may create a larger work that contains
21: part or all of the Bison parser skeleton and distribute that work
22: under terms of your choice, so long as that work isn't itself a
23: parser generator using the skeleton or a modified version thereof
24: as a parser skeleton. Alternatively, if you modify or redistribute
25: the parser skeleton itself, you may (at your option) remove this
26: special exception, which will cause the skeleton and the resulting
27: Bison output files to be licensed under the GNU General Public
28: License without this special exception.
29:
30: This special exception was added by the Free Software Foundation in
31: version 2.2 of Bison. */
32:
1.3 ! bertrand 33: #ifndef YY_YY_Y_TAB_H_INCLUDED
! 34: # define YY_YY_Y_TAB_H_INCLUDED
! 35: /* Debug traces. */
! 36: #ifndef YYDEBUG
! 37: # define YYDEBUG 0
! 38: #endif
! 39: #if YYDEBUG
! 40: extern int yydebug;
! 41: #endif
! 42:
! 43: /* Token type. */
1.1 bertrand 44: #ifndef YYTOKENTYPE
45: # define YYTOKENTYPE
1.3 ! bertrand 46: enum yytokentype
! 47: {
! 48: FIRSTTOKEN = 258,
! 49: PROGRAM = 259,
! 50: PASTAT = 260,
! 51: PASTAT2 = 261,
! 52: XBEGIN = 262,
! 53: XEND = 263,
! 54: NL = 264,
! 55: ARRAY = 265,
! 56: MATCH = 266,
! 57: NOTMATCH = 267,
! 58: MATCHOP = 268,
! 59: FINAL = 269,
! 60: DOT = 270,
! 61: ALL = 271,
! 62: CCL = 272,
! 63: NCCL = 273,
! 64: CHAR = 274,
! 65: OR = 275,
! 66: STAR = 276,
! 67: QUEST = 277,
! 68: PLUS = 278,
! 69: EMPTYRE = 279,
! 70: AND = 280,
! 71: BOR = 281,
! 72: APPEND = 282,
! 73: EQ = 283,
! 74: GE = 284,
! 75: GT = 285,
! 76: LE = 286,
! 77: LT = 287,
! 78: NE = 288,
! 79: IN = 289,
! 80: ARG = 290,
! 81: BLTIN = 291,
! 82: BREAK = 292,
! 83: CLOSE = 293,
! 84: CONTINUE = 294,
! 85: DELETE = 295,
! 86: DO = 296,
! 87: EXIT = 297,
! 88: FOR = 298,
! 89: FUNC = 299,
! 90: SUB = 300,
! 91: GSUB = 301,
! 92: IF = 302,
! 93: INDEX = 303,
! 94: LSUBSTR = 304,
! 95: MATCHFCN = 305,
! 96: NEXT = 306,
! 97: NEXTFILE = 307,
! 98: ADD = 308,
! 99: MINUS = 309,
! 100: MULT = 310,
! 101: DIVIDE = 311,
! 102: MOD = 312,
! 103: ASSIGN = 313,
! 104: ASGNOP = 314,
! 105: ADDEQ = 315,
! 106: SUBEQ = 316,
! 107: MULTEQ = 317,
! 108: DIVEQ = 318,
! 109: MODEQ = 319,
! 110: POWEQ = 320,
! 111: PRINT = 321,
! 112: PRINTF = 322,
! 113: SPRINTF = 323,
! 114: ELSE = 324,
! 115: INTEST = 325,
! 116: CONDEXPR = 326,
! 117: POSTINCR = 327,
! 118: PREINCR = 328,
! 119: POSTDECR = 329,
! 120: PREDECR = 330,
! 121: VAR = 331,
! 122: IVAR = 332,
! 123: VARNF = 333,
! 124: CALL = 334,
! 125: NUMBER = 335,
! 126: STRING = 336,
! 127: REGEXPR = 337,
! 128: GETLINE = 338,
! 129: RETURN = 339,
! 130: SPLIT = 340,
! 131: SUBSTR = 341,
! 132: WHILE = 342,
! 133: CAT = 343,
! 134: NOT = 344,
! 135: UMINUS = 345,
! 136: POWER = 346,
! 137: DECR = 347,
! 138: INCR = 348,
! 139: INDIRECT = 349,
! 140: LASTTOKEN = 350
! 141: };
1.1 bertrand 142: #endif
143: /* Tokens. */
144: #define FIRSTTOKEN 258
145: #define PROGRAM 259
146: #define PASTAT 260
147: #define PASTAT2 261
148: #define XBEGIN 262
149: #define XEND 263
150: #define NL 264
151: #define ARRAY 265
152: #define MATCH 266
153: #define NOTMATCH 267
154: #define MATCHOP 268
155: #define FINAL 269
156: #define DOT 270
157: #define ALL 271
158: #define CCL 272
159: #define NCCL 273
160: #define CHAR 274
161: #define OR 275
162: #define STAR 276
163: #define QUEST 277
164: #define PLUS 278
165: #define EMPTYRE 279
166: #define AND 280
167: #define BOR 281
168: #define APPEND 282
169: #define EQ 283
170: #define GE 284
171: #define GT 285
172: #define LE 286
173: #define LT 287
174: #define NE 288
175: #define IN 289
176: #define ARG 290
177: #define BLTIN 291
178: #define BREAK 292
179: #define CLOSE 293
180: #define CONTINUE 294
181: #define DELETE 295
182: #define DO 296
183: #define EXIT 297
184: #define FOR 298
185: #define FUNC 299
186: #define SUB 300
187: #define GSUB 301
188: #define IF 302
189: #define INDEX 303
190: #define LSUBSTR 304
191: #define MATCHFCN 305
192: #define NEXT 306
193: #define NEXTFILE 307
194: #define ADD 308
195: #define MINUS 309
196: #define MULT 310
197: #define DIVIDE 311
198: #define MOD 312
199: #define ASSIGN 313
200: #define ASGNOP 314
201: #define ADDEQ 315
202: #define SUBEQ 316
203: #define MULTEQ 317
204: #define DIVEQ 318
205: #define MODEQ 319
206: #define POWEQ 320
207: #define PRINT 321
208: #define PRINTF 322
209: #define SPRINTF 323
210: #define ELSE 324
211: #define INTEST 325
212: #define CONDEXPR 326
213: #define POSTINCR 327
214: #define PREINCR 328
215: #define POSTDECR 329
216: #define PREDECR 330
217: #define VAR 331
218: #define IVAR 332
219: #define VARNF 333
220: #define CALL 334
221: #define NUMBER 335
222: #define STRING 336
223: #define REGEXPR 337
224: #define GETLINE 338
1.3 ! bertrand 225: #define RETURN 339
1.1 bertrand 226: #define SPLIT 340
1.3 ! bertrand 227: #define SUBSTR 341
1.1 bertrand 228: #define WHILE 342
229: #define CAT 343
1.3 ! bertrand 230: #define NOT 344
! 231: #define UMINUS 345
1.1 bertrand 232: #define POWER 346
1.3 ! bertrand 233: #define DECR 347
! 234: #define INCR 348
1.1 bertrand 235: #define INDIRECT 349
236: #define LASTTOKEN 350
237:
1.3 ! bertrand 238: /* Value type. */
! 239: #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
1.1 bertrand 240:
1.3 ! bertrand 241: union YYSTYPE
! 242: {
! 243: #line 41 "awkgram.y" /* yacc.c:1909 */
1.1 bertrand 244:
245: Node *p;
246: Cell *cp;
247: int i;
248: char *s;
1.3 ! bertrand 249:
! 250: #line 251 "y.tab.h" /* yacc.c:1909 */
! 251: };
! 252:
! 253: typedef union YYSTYPE YYSTYPE;
! 254: # define YYSTYPE_IS_TRIVIAL 1
1.1 bertrand 255: # define YYSTYPE_IS_DECLARED 1
256: #endif
257:
1.3 ! bertrand 258:
1.1 bertrand 259: extern YYSTYPE yylval;
260:
1.3 ! bertrand 261: int yyparse (void);
! 262:
! 263: #endif /* !YY_YY_Y_TAB_H_INCLUDED */
CVSweb interface <joel.bertrand@systella.fr>