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