github.com/razvanm/vanadium-go-1.3@v0.0.0-20160721203343-4a65068e5915/src/cmd/cc/y.tab.h (about) 1 /* A Bison parser, made by GNU Bison 2.3. */ 2 3 /* Skeleton interface for Bison's Yacc-like parsers in C 4 5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 6 Free Software Foundation, 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 2, or (at your option) 11 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, write to the Free Software 20 Foundation, Inc., 51 Franklin Street, Fifth Floor, 21 Boston, MA 02110-1301, USA. */ 22 23 /* As a special exception, you may create a larger work that contains 24 part or all of the Bison parser skeleton and distribute that work 25 under terms of your choice, so long as that work isn't itself a 26 parser generator using the skeleton or a modified version thereof 27 as a parser skeleton. Alternatively, if you modify or redistribute 28 the parser skeleton itself, you may (at your option) remove this 29 special exception, which will cause the skeleton and the resulting 30 Bison output files to be licensed under the GNU General Public 31 License without this special exception. 32 33 This special exception was added by the Free Software Foundation in 34 version 2.2 of Bison. */ 35 36 /* Tokens. */ 37 #ifndef YYTOKENTYPE 38 # define YYTOKENTYPE 39 /* Put the tokens into the symbol table, so that GDB and other debuggers 40 know about them. */ 41 enum yytokentype { 42 LORE = 258, 43 LXORE = 259, 44 LANDE = 260, 45 LLSHE = 261, 46 LRSHE = 262, 47 LMDE = 263, 48 LDVE = 264, 49 LMLE = 265, 50 LME = 266, 51 LPE = 267, 52 LOROR = 268, 53 LANDAND = 269, 54 LNE = 270, 55 LEQ = 271, 56 LGE = 272, 57 LLE = 273, 58 LRSH = 274, 59 LLSH = 275, 60 LMG = 276, 61 LPP = 277, 62 LMM = 278, 63 LNAME = 279, 64 LTYPE = 280, 65 LFCONST = 281, 66 LDCONST = 282, 67 LCONST = 283, 68 LLCONST = 284, 69 LUCONST = 285, 70 LULCONST = 286, 71 LVLCONST = 287, 72 LUVLCONST = 288, 73 LSTRING = 289, 74 LLSTRING = 290, 75 LAUTO = 291, 76 LBREAK = 292, 77 LCASE = 293, 78 LCHAR = 294, 79 LCONTINUE = 295, 80 LDEFAULT = 296, 81 LDO = 297, 82 LDOUBLE = 298, 83 LELSE = 299, 84 LEXTERN = 300, 85 LFLOAT = 301, 86 LFOR = 302, 87 LGOTO = 303, 88 LIF = 304, 89 LINT = 305, 90 LLONG = 306, 91 LPREFETCH = 307, 92 LREGISTER = 308, 93 LRETURN = 309, 94 LSHORT = 310, 95 LSIZEOF = 311, 96 LUSED = 312, 97 LSTATIC = 313, 98 LSTRUCT = 314, 99 LSWITCH = 315, 100 LTYPEDEF = 316, 101 LTYPESTR = 317, 102 LUNION = 318, 103 LUNSIGNED = 319, 104 LWHILE = 320, 105 LVOID = 321, 106 LENUM = 322, 107 LSIGNED = 323, 108 LCONSTNT = 324, 109 LVOLATILE = 325, 110 LSET = 326, 111 LSIGNOF = 327, 112 LRESTRICT = 328, 113 LINLINE = 329 114 }; 115 #endif 116 /* Tokens. */ 117 #define LORE 258 118 #define LXORE 259 119 #define LANDE 260 120 #define LLSHE 261 121 #define LRSHE 262 122 #define LMDE 263 123 #define LDVE 264 124 #define LMLE 265 125 #define LME 266 126 #define LPE 267 127 #define LOROR 268 128 #define LANDAND 269 129 #define LNE 270 130 #define LEQ 271 131 #define LGE 272 132 #define LLE 273 133 #define LRSH 274 134 #define LLSH 275 135 #define LMG 276 136 #define LPP 277 137 #define LMM 278 138 #define LNAME 279 139 #define LTYPE 280 140 #define LFCONST 281 141 #define LDCONST 282 142 #define LCONST 283 143 #define LLCONST 284 144 #define LUCONST 285 145 #define LULCONST 286 146 #define LVLCONST 287 147 #define LUVLCONST 288 148 #define LSTRING 289 149 #define LLSTRING 290 150 #define LAUTO 291 151 #define LBREAK 292 152 #define LCASE 293 153 #define LCHAR 294 154 #define LCONTINUE 295 155 #define LDEFAULT 296 156 #define LDO 297 157 #define LDOUBLE 298 158 #define LELSE 299 159 #define LEXTERN 300 160 #define LFLOAT 301 161 #define LFOR 302 162 #define LGOTO 303 163 #define LIF 304 164 #define LINT 305 165 #define LLONG 306 166 #define LPREFETCH 307 167 #define LREGISTER 308 168 #define LRETURN 309 169 #define LSHORT 310 170 #define LSIZEOF 311 171 #define LUSED 312 172 #define LSTATIC 313 173 #define LSTRUCT 314 174 #define LSWITCH 315 175 #define LTYPEDEF 316 176 #define LTYPESTR 317 177 #define LUNION 318 178 #define LUNSIGNED 319 179 #define LWHILE 320 180 #define LVOID 321 181 #define LENUM 322 182 #define LSIGNED 323 183 #define LCONSTNT 324 184 #define LVOLATILE 325 185 #define LSET 326 186 #define LSIGNOF 327 187 #define LRESTRICT 328 188 #define LINLINE 329 189 190 191 192 193 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 194 typedef union YYSTYPE 195 #line 36 "cc.y" 196 { 197 Node* node; 198 Sym* sym; 199 Type* type; 200 struct 201 { 202 Type* t; 203 uchar c; 204 } tycl; 205 struct 206 { 207 Type* t1; 208 Type* t2; 209 Type* t3; 210 uchar c; 211 } tyty; 212 struct 213 { 214 char* s; 215 int32 l; 216 } sval; 217 int32 lval; 218 double dval; 219 vlong vval; 220 } 221 /* Line 1529 of yacc.c. */ 222 #line 223 "y.tab.h" 223 YYSTYPE; 224 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 225 # define YYSTYPE_IS_DECLARED 1 226 # define YYSTYPE_IS_TRIVIAL 1 227 #endif 228 229 extern YYSTYPE yylval; 230