GnuCOBOL  2.0
A free COBOL compiler
parser.h
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 3.0.2. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
6 
7  This program is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
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
18  along with this program. If not, see <http://www.gnu.org/licenses/>. */
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 
33 #ifndef YY_YY_PARSER_H_INCLUDED
34 # define YY_YY_PARSER_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. */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
47  {
48  TOKEN_EOF = 0,
49  ACCEPT = 258,
50  ACCESS = 259,
51  ADD = 260,
52  ADDRESS = 261,
53  ADVANCING = 262,
54  AFTER = 263,
55  ALL = 264,
56  ALLOCATE = 265,
57  ALPHABET = 266,
58  ALPHABETIC = 267,
61  ALPHANUMERIC = 270,
63  ALSO = 272,
64  ALTER = 273,
65  ALTERNATE = 274,
66  AND = 275,
67  ANY = 276,
68  ARE = 277,
69  AREA = 278,
72  AS = 281,
73  ASCENDING = 282,
74  ASCII = 283,
75  ASSIGN = 284,
76  AT = 285,
77  ATTRIBUTE = 286,
78  AUTO = 287,
79  AUTOMATIC = 288,
82  BASED = 291,
83  BEFORE = 292,
84  BELL = 293,
85  BINARY = 294,
87  BINARY_CHAR = 296,
89  BINARY_LONG = 298,
90  BINARY_SHORT = 299,
91  BLANK = 300,
92  BLINK = 301,
93  BLOCK = 302,
94  BOTTOM = 303,
95  BY = 304,
96  BYTE_LENGTH = 305,
97  CALL = 306,
98  CANCEL = 307,
99  CAPACITY = 308,
100  CF = 309,
101  CH = 310,
102  CHAINING = 311,
103  CHARACTER = 312,
104  CHARACTERS = 313,
105  CLASS = 314,
107  CLOSE = 316,
108  CODE = 317,
109  CODE_SET = 318,
110  COLLATING = 319,
111  COL = 320,
112  COLS = 321,
113  COLUMN = 322,
114  COLUMNS = 323,
115  COMMA = 324,
117  COMMA_DELIM = 326,
118  COMMIT = 327,
119  COMMON = 328,
120  COMP = 329,
121  COMPUTE = 330,
122  COMP_1 = 331,
123  COMP_2 = 332,
124  COMP_3 = 333,
125  COMP_4 = 334,
126  COMP_5 = 335,
127  COMP_6 = 336,
128  COMP_X = 337,
130  CONDITION = 339,
132  CONSTANT = 341,
133  CONTAINS = 342,
134  CONTENT = 343,
135  CONTINUE = 344,
136  CONTROL = 345,
137  CONTROLS = 346,
138  CONVERSION = 347,
139  CONVERTING = 348,
140  COPY = 349,
142  COUNT = 351,
143  CRT = 352,
144  CRT_UNDER = 353,
145  CURRENCY = 354,
147  CURSOR = 356,
148  CYCLE = 357,
149  DATA = 358,
150  DATE = 359,
151  DAY = 360,
152  DAY_OF_WEEK = 361,
153  DE = 362,
154  DEBUGGING = 363,
157  DEFAULT = 366,
158  DELETE = 367,
159  DELIMITED = 368,
160  DELIMITER = 369,
161  DEPENDING = 370,
162  DESCENDING = 371,
163  DETAIL = 372,
164  DISC = 373,
165  DISK = 374,
166  DISPLAY = 375,
168  DIVIDE = 377,
169  DIVISION = 378,
170  DOWN = 379,
171  DUPLICATES = 380,
172  DYNAMIC = 381,
173  EBCDIC = 382,
174  EC = 383,
175  ELSE = 384,
176  END = 385,
177  END_ACCEPT = 386,
178  END_ADD = 387,
179  END_CALL = 388,
180  END_COMPUTE = 389,
181  END_DELETE = 390,
182  END_DISPLAY = 391,
183  END_DIVIDE = 392,
186  END_IF = 395,
188  END_PERFORM = 397,
189  END_PROGRAM = 398,
190  END_READ = 399,
191  END_RETURN = 400,
192  END_REWRITE = 401,
193  END_SEARCH = 402,
194  END_START = 403,
195  END_STRING = 404,
198  END_WRITE = 407,
199  ENTRY = 408,
200  ENVIRONMENT = 409,
203  EOL = 412,
204  EOP = 413,
205  EOS = 414,
206  EQUAL = 415,
207  ERASE = 416,
208  ERROR = 417,
209  ESCAPE = 418,
210  EVALUATE = 419,
212  EXCEPTION = 421,
214  EXCLUSIVE = 423,
215  EXIT = 424,
217  EXTEND = 426,
218  EXTERNAL = 427,
219  FD = 428,
221  FILE_ID = 430,
222  FILLER = 431,
223  FINAL = 432,
224  FIRST = 433,
232  FLOAT_LONG = 441,
233  FLOAT_SHORT = 442,
234  FOOTING = 443,
235  FOR = 444,
237  FOREVER = 446,
241  FREE = 450,
242  FROM = 451,
243  FROM_CRT = 452,
244  FULL = 453,
245  FUNCTION = 454,
246  FUNCTION_ID = 455,
248  GENERATE = 457,
249  GIVING = 458,
250  GLOBAL = 459,
251  GO = 460,
252  GOBACK = 461,
253  GREATER = 462,
255  GRID = 464,
256  GROUP = 465,
257  HEADING = 466,
258  HIGHLIGHT = 467,
259  HIGH_VALUE = 468,
260  ID = 469,
262  IF = 471,
263  IGNORE = 472,
264  IGNORING = 473,
265  IN = 474,
266  INDEX = 475,
267  INDEXED = 476,
268  INDICATE = 477,
269  INITIALIZE = 478,
270  INITIALIZED = 479,
271  INITIATE = 480,
272  INPUT = 481,
274  INSPECT = 483,
275  INTO = 484,
276  INTRINSIC = 485,
277  INVALID = 486,
278  INVALID_KEY = 487,
279  IS = 488,
280  I_O = 489,
281  I_O_CONTROL = 490,
282  JUSTIFIED = 491,
283  KEPT = 492,
284  KEY = 493,
285  KEYBOARD = 494,
286  LABEL = 495,
287  LAST = 496,
288  LEADING = 497,
289  LEFT = 498,
290  LEFTLINE = 499,
291  LENGTH = 500,
292  LENGTH_OF = 501,
293  LESS = 502,
295  LIMIT = 504,
296  LIMITS = 505,
297  LINAGE = 506,
299  LINE = 508,
301  LINES = 510,
302  LINKAGE = 511,
303  LITERAL = 512,
304  LOCALE = 513,
309  LOCK = 518,
310  LOWER = 519,
312  LOWLIGHT = 521,
313  LOW_VALUE = 522,
314  MANUAL = 523,
315  MEMORY = 524,
316  MERGE = 525,
317  MINUS = 526,
319  MODE = 528,
320  MOVE = 529,
321  MULTIPLE = 530,
322  MULTIPLY = 531,
323  NAME = 532,
324  NATIONAL = 533,
327  NATIVE = 536,
331  NEGATIVE = 540,
332  NEXT = 541,
333  NEXT_PAGE = 542,
334  NO = 543,
335  NO_ECHO = 544,
336  NORMAL = 545,
337  NOT = 546,
338  NOTHING = 547,
339  NOT_END = 548,
340  NOT_EOP = 549,
341  NOT_ESCAPE = 550,
342  NOT_EQUAL = 551,
348  NUMBER = 557,
349  NUMBERS = 558,
350  NUMERIC = 559,
354  OCCURS = 563,
355  OF = 564,
356  OFF = 565,
357  OMITTED = 566,
358  ON = 567,
359  ONLY = 568,
360  OPEN = 569,
361  OPTIONAL = 570,
362  OR = 571,
363  ORDER = 572,
365  OTHER = 574,
366  OUTPUT = 575,
367  OVERLINE = 576,
369  PADDING = 578,
370  PAGE = 579,
372  PARAGRAPH = 581,
373  PERFORM = 582,
374  PH = 583,
375  PF = 584,
376  PICTURE = 585,
378  PLUS = 587,
379  POINTER = 588,
380  POSITION = 589,
381  POSITIVE = 590,
382  PRESENT = 591,
383  PREVIOUS = 592,
384  PRINT = 593,
385  PRINTER = 594,
386  PRINTER_1 = 595,
387  PRINTING = 596,
388  PROCEDURE = 597,
389  PROCEDURES = 598,
390  PROCEED = 599,
391  PROGRAM = 600,
392  PROGRAM_ID = 601,
395  PROHIBITED = 604,
396  PROMPT = 605,
397  PROTECTED = 606,
398  QUOTE = 607,
399  RANDOM = 608,
400  RD = 609,
401  READ = 610,
402  READY_TRACE = 611,
403  RECORD = 612,
404  RECORDING = 613,
405  RECORDS = 614,
406  RECURSIVE = 615,
407  REDEFINES = 616,
408  REEL = 617,
409  REFERENCE = 618,
410  REFERENCES = 619,
411  RELATIVE = 620,
412  RELEASE = 621,
413  REMAINDER = 622,
414  REMOVAL = 623,
415  RENAMES = 624,
416  REPLACE = 625,
417  REPLACING = 626,
418  REPORT = 627,
419  REPORTING = 628,
420  REPORTS = 629,
421  REPOSITORY = 630,
422  REQUIRED = 631,
423  RESERVE = 632,
424  RESET = 633,
425  RESET_TRACE = 634,
426  RETURN = 635,
427  RETURNING = 636,
430  REVERSED = 639,
431  REWIND = 640,
432  REWRITE = 641,
433  RF = 642,
434  RH = 643,
435  RIGHT = 644,
436  ROLLBACK = 645,
437  ROUNDED = 646,
438  RUN = 647,
439  SAME = 648,
440  SCREEN = 649,
442  SCROLL = 651,
443  SD = 652,
444  SEARCH = 653,
445  SECTION = 654,
446  SECURE = 655,
448  SELECT = 657,
449  SEMI_COLON = 658,
450  SENTENCE = 659,
451  SEPARATE = 660,
452  SEQUENCE = 661,
453  SEQUENTIAL = 662,
454  SET = 663,
455  SHARING = 664,
456  SIGN = 665,
457  SIGNED = 666,
458  SIGNED_INT = 667,
459  SIGNED_LONG = 668,
461  SIZE = 670,
462  SIZE_ERROR = 671,
463  SORT = 672,
464  SORT_MERGE = 673,
465  SOURCE = 674,
467  SPACE = 676,
469  STANDARD = 678,
470  STANDARD_1 = 679,
471  STANDARD_2 = 680,
472  START = 681,
473  STATIC = 682,
474  STATUS = 683,
475  STDCALL = 684,
476  STEP = 685,
477  STOP = 686,
478  STRING = 687,
481  SUBTRACT = 690,
482  SUM = 691,
483  SUPPRESS = 692,
484  SYMBOLIC = 693,
488  TAB = 697,
489  TALLYING = 698,
490  TAPE = 699,
491  TERMINATE = 700,
492  TEST = 701,
493  THAN = 702,
494  THEN = 703,
495  THRU = 704,
496  TIME = 705,
497  TIMEOUT = 706,
498  TIMES = 707,
499  TO = 708,
500  TOK_AMPER = 709,
502  TOK_COLON = 711,
503  TOK_DIV = 712,
504  TOK_DOT = 713,
505  TOK_EQUAL = 714,
506  TOK_FALSE = 715,
507  TOK_FILE = 716,
508  TOK_GREATER = 717,
509  TOK_INITIAL = 718,
510  TOK_LESS = 719,
511  TOK_MINUS = 720,
512  TOK_MUL = 721,
513  TOK_NULL = 722,
516  TOK_PLUS = 725,
517  TOK_TRUE = 726,
518  TOP = 727,
521  TRAILING = 730,
522  TRANSFORM = 731,
523  TRIM_FUNC = 732,
524  TRUNCATION = 733,
525  TYPE = 734,
526  UNDERLINE = 735,
527  UNIT = 736,
528  UNLOCK = 737,
529  UNSIGNED = 738,
533  UNSTRING = 742,
534  UNTIL = 743,
535  UP = 744,
536  UPDATE = 745,
537  UPON = 746,
542  UPPER = 751,
544  USAGE = 753,
545  USE = 754,
546  USER = 755,
549  USING = 758,
550  VALUE = 759,
551  VARYING = 760,
552  WAIT = 761,
553  WHEN = 762,
555  WITH = 764,
556  WORD = 765,
557  WORDS = 766,
559  WRITE = 768,
560  YYYYDDD = 769,
561  YYYYMMDD = 770,
562  ZERO = 771,
564  };
565 #endif
566 
567 /* Value type. */
568 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
569 typedef int YYSTYPE;
570 # define YYSTYPE_IS_TRIVIAL 1
571 # define YYSTYPE_IS_DECLARED 1
572 #endif
573 
574 
575 extern YYSTYPE yylval;
576 
577 int yyparse (void);
578 
579 #endif /* !YY_YY_PARSER_H_INCLUDED */
Definition: parser.h:50
Definition: parser.h:456
Definition: parser.h:217
Definition: parser.h:241
Definition: parser.h:123
Definition: parser.h:493
Definition: parser.h:204
Definition: parser.h:378
Definition: parser.h:255
Definition: parser.h:375
Definition: parser.h:552
Definition: parser.h:149
Definition: parser.h:150
Definition: parser.h:122
Definition: parser.h:448
Definition: parser.h:118
Definition: parser.h:284
Definition: parser.h:63
Definition: parser.h:256
Definition: parser.h:362
Definition: parser.h:334
Definition: parser.h:186
Definition: parser.h:287
Definition: parser.h:283
Definition: parser.h:124
Definition: parser.h:332
Definition: parser.h:174
int YYSTYPE
Definition: parser.h:569
Definition: parser.h:365
Definition: parser.h:310
Definition: parser.h:64
Definition: parser.h:534
Definition: parser.h:275
Definition: parser.h:52
Definition: parser.h:209
Definition: parser.h:348
Definition: parser.h:478
Definition: parser.h:272
Definition: parser.h:293
Definition: parser.h:291
Definition: parser.h:431
Definition: parser.h:120
Definition: parser.h:260
Definition: parser.h:83
Definition: parser.h:252
Definition: parser.h:544
Definition: parser.h:151
Definition: parser.h:115
Definition: parser.h:396
Definition: parser.h:474
Definition: parser.h:337
Definition: parser.h:97
Definition: parser.h:488
Definition: parser.h:545
Definition: parser.h:224
Definition: parser.h:173
Definition: parser.h:299
Definition: parser.h:323
Definition: parser.h:263
Definition: parser.h:498
Definition: parser.h:477
Definition: parser.h:203
Definition: parser.h:94
Definition: parser.h:163
Definition: parser.h:472
Definition: parser.h:249
Definition: parser.h:206
Definition: parser.h:370
Definition: parser.h:54
Definition: parser.h:384
Definition: parser.h:279
Definition: parser.h:360
Definition: parser.h:494
Definition: parser.h:266
Definition: parser.h:327
Definition: parser.h:127
Definition: parser.h:208
Definition: parser.h:354
Definition: parser.h:562
Definition: parser.h:457
Definition: parser.h:301
Definition: parser.h:366
Definition: parser.h:359
Definition: parser.h:555
Definition: parser.h:444
Definition: parser.h:319
Definition: parser.h:556
Definition: parser.h:113
Definition: parser.h:446
Definition: parser.h:207
Definition: parser.h:316
Definition: parser.h:111
Definition: parser.h:467
Definition: parser.h:435
Definition: parser.h:72
Definition: parser.h:536
Definition: parser.h:358
Definition: parser.h:68
Definition: parser.h:215
Definition: parser.h:93
#define yydebug
Definition: ppparse.c:66
Definition: parser.h:399
Definition: parser.h:374
Definition: parser.h:463
Definition: parser.h:95
Definition: parser.h:317
Definition: parser.h:82
Definition: parser.h:244
Definition: parser.h:108
Definition: parser.h:495
YYSTYPE yylval
Definition: parser.h:336
Definition: parser.h:219
Definition: parser.h:101
Definition: parser.h:168
Definition: parser.h:315
Definition: parser.h:549
Definition: parser.h:147
Definition: parser.h:320
Definition: parser.h:67
Definition: parser.h:400
Definition: parser.h:112
Definition: parser.h:490
Definition: parser.h:105
Definition: parser.h:107
Definition: parser.h:297
Definition: parser.h:418
Definition: parser.h:98
Definition: parser.h:143
Definition: parser.h:528
Definition: parser.h:525
Definition: parser.h:142
Definition: parser.h:518
Definition: parser.h:461
Definition: parser.h:164
Definition: parser.h:398
Definition: parser.h:442
Definition: parser.h:496
Definition: parser.h:66
Definition: parser.h:476
Definition: parser.h:433
Definition: parser.h:55
Definition: parser.h:537
Definition: parser.h:314
Definition: parser.h:355
Definition: parser.h:205
Definition: parser.h:280
Definition: parser.h:535
Definition: parser.h:443
Definition: parser.h:165
Definition: parser.h:69
Definition: parser.h:454
Definition: parser.h:223
Definition: parser.h:148
int yyparse(void)
Definition: parser.c:6565
Definition: parser.h:482
Definition: parser.h:92
Definition: parser.h:251
Definition: parser.h:125
Definition: parser.h:434
Definition: parser.h:119
Definition: parser.h:401
yytokentype
Definition: parser.c:1343
Definition: parser.h:473
Definition: parser.h:286
Definition: parser.h:438
Definition: parser.h:304
Definition: parser.h:542
Definition: parser.h:100
Definition: parser.h:550
Definition: parser.h:296
Definition: parser.h:499
Definition: parser.h:158
Definition: parser.h:170
Definition: parser.h:235
Definition: parser.h:140
Definition: parser.h:91
Definition: parser.h:78
Definition: parser.h:242
Definition: parser.h:557
Definition: parser.h:309
Definition: parser.h:295
Definition: parser.h:440
Definition: parser.h:265
Definition: parser.h:74
Definition: parser.h:465
Definition: parser.h:546
Definition: parser.h:559
Definition: parser.h:75
Definition: parser.h:85
Definition: parser.h:84
Definition: parser.h:222
Definition: parser.h:527
Definition: parser.h:126
Definition: parser.h:199
Definition: parser.h:408
Definition: parser.h:51
Definition: parser.h:403
Definition: parser.h:553
Definition: parser.h:439
Definition: parser.h:424
Definition: parser.h:356
Definition: parser.h:426
Definition: parser.h:176
Definition: parser.h:262
Definition: parser.h:128
Definition: parser.h:363
Definition: parser.h:49
Definition: parser.h:76
Definition: parser.h:175
Definition: parser.h:250
Definition: parser.h:289
Definition: parser.h:153
Definition: parser.h:492