github.com/ader1990/go@v0.0.0-20140630135419-8c24447fa791/src/cmd/cc/y.tab.h (about) 1 /* A Bison parser, made by GNU Bison 2.7.12-4996. */ 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_Y_TAB_H_INCLUDED 34 # define YY_YY_Y_TAB_H_INCLUDED 35 /* Enabling traces. */ 36 #ifndef YYDEBUG 37 # define YYDEBUG 0 38 #endif 39 #if YYDEBUG 40 extern int yydebug; 41 #endif 42 43 /* Tokens. */ 44 #ifndef YYTOKENTYPE 45 # define YYTOKENTYPE 46 /* Put the tokens into the symbol table, so that GDB and other debuggers 47 know about them. */ 48 enum yytokentype { 49 LORE = 258, 50 LXORE = 259, 51 LANDE = 260, 52 LLSHE = 261, 53 LRSHE = 262, 54 LMDE = 263, 55 LDVE = 264, 56 LMLE = 265, 57 LME = 266, 58 LPE = 267, 59 LOROR = 268, 60 LANDAND = 269, 61 LNE = 270, 62 LEQ = 271, 63 LGE = 272, 64 LLE = 273, 65 LRSH = 274, 66 LLSH = 275, 67 LMG = 276, 68 LPP = 277, 69 LMM = 278, 70 LNAME = 279, 71 LTYPE = 280, 72 LFCONST = 281, 73 LDCONST = 282, 74 LCONST = 283, 75 LLCONST = 284, 76 LUCONST = 285, 77 LULCONST = 286, 78 LVLCONST = 287, 79 LUVLCONST = 288, 80 LSTRING = 289, 81 LLSTRING = 290, 82 LAUTO = 291, 83 LBREAK = 292, 84 LCASE = 293, 85 LCHAR = 294, 86 LCONTINUE = 295, 87 LDEFAULT = 296, 88 LDO = 297, 89 LDOUBLE = 298, 90 LELSE = 299, 91 LEXTERN = 300, 92 LFLOAT = 301, 93 LFOR = 302, 94 LGOTO = 303, 95 LIF = 304, 96 LINT = 305, 97 LLONG = 306, 98 LPREFETCH = 307, 99 LREGISTER = 308, 100 LRETURN = 309, 101 LSHORT = 310, 102 LSIZEOF = 311, 103 LUSED = 312, 104 LSTATIC = 313, 105 LSTRUCT = 314, 106 LSWITCH = 315, 107 LTYPEDEF = 316, 108 LTYPESTR = 317, 109 LUNION = 318, 110 LUNSIGNED = 319, 111 LWHILE = 320, 112 LVOID = 321, 113 LENUM = 322, 114 LSIGNED = 323, 115 LCONSTNT = 324, 116 LVOLATILE = 325, 117 LSET = 326, 118 LSIGNOF = 327, 119 LRESTRICT = 328, 120 LINLINE = 329 121 }; 122 #endif 123 /* Tokens. */ 124 #define LORE 258 125 #define LXORE 259 126 #define LANDE 260 127 #define LLSHE 261 128 #define LRSHE 262 129 #define LMDE 263 130 #define LDVE 264 131 #define LMLE 265 132 #define LME 266 133 #define LPE 267 134 #define LOROR 268 135 #define LANDAND 269 136 #define LNE 270 137 #define LEQ 271 138 #define LGE 272 139 #define LLE 273 140 #define LRSH 274 141 #define LLSH 275 142 #define LMG 276 143 #define LPP 277 144 #define LMM 278 145 #define LNAME 279 146 #define LTYPE 280 147 #define LFCONST 281 148 #define LDCONST 282 149 #define LCONST 283 150 #define LLCONST 284 151 #define LUCONST 285 152 #define LULCONST 286 153 #define LVLCONST 287 154 #define LUVLCONST 288 155 #define LSTRING 289 156 #define LLSTRING 290 157 #define LAUTO 291 158 #define LBREAK 292 159 #define LCASE 293 160 #define LCHAR 294 161 #define LCONTINUE 295 162 #define LDEFAULT 296 163 #define LDO 297 164 #define LDOUBLE 298 165 #define LELSE 299 166 #define LEXTERN 300 167 #define LFLOAT 301 168 #define LFOR 302 169 #define LGOTO 303 170 #define LIF 304 171 #define LINT 305 172 #define LLONG 306 173 #define LPREFETCH 307 174 #define LREGISTER 308 175 #define LRETURN 309 176 #define LSHORT 310 177 #define LSIZEOF 311 178 #define LUSED 312 179 #define LSTATIC 313 180 #define LSTRUCT 314 181 #define LSWITCH 315 182 #define LTYPEDEF 316 183 #define LTYPESTR 317 184 #define LUNION 318 185 #define LUNSIGNED 319 186 #define LWHILE 320 187 #define LVOID 321 188 #define LENUM 322 189 #define LSIGNED 323 190 #define LCONSTNT 324 191 #define LVOLATILE 325 192 #define LSET 326 193 #define LSIGNOF 327 194 #define LRESTRICT 328 195 #define LINLINE 329 196 197 198 199 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 200 typedef union YYSTYPE 201 { 202 /* Line 2053 of yacc.c */ 203 #line 36 "cc.y" 204 205 Node* node; 206 Sym* sym; 207 Type* type; 208 struct 209 { 210 Type* t; 211 uchar c; 212 } tycl; 213 struct 214 { 215 Type* t1; 216 Type* t2; 217 Type* t3; 218 uchar c; 219 } tyty; 220 struct 221 { 222 char* s; 223 int32 l; 224 } sval; 225 int32 lval; 226 double dval; 227 vlong vval; 228 229 230 /* Line 2053 of yacc.c */ 231 #line 232 "y.tab.h" 232 } YYSTYPE; 233 # define YYSTYPE_IS_TRIVIAL 1 234 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 235 # define YYSTYPE_IS_DECLARED 1 236 #endif 237 238 extern YYSTYPE yylval; 239 240 #ifdef YYPARSE_PARAM 241 #if defined __STDC__ || defined __cplusplus 242 int yyparse (void *YYPARSE_PARAM); 243 #else 244 int yyparse (); 245 #endif 246 #else /* ! YYPARSE_PARAM */ 247 #if defined __STDC__ || defined __cplusplus 248 int yyparse (void); 249 #else 250 int yyparse (); 251 #endif 252 #endif /* ! YYPARSE_PARAM */ 253 254 #endif /* !YY_YY_Y_TAB_H_INCLUDED */