github.com/rohankumardubey/syslog-redirector-golang@v0.0.0-20140320174030-4859f03d829a/src/cmd/gc/y.tab.h (about) 1 /* A Bison parser, made by GNU Bison 2.5. */ 2 3 /* Bison interface for Yacc-like parsers in C 4 5 Copyright (C) 1984, 1989-1990, 2000-2011 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 34 /* Tokens. */ 35 #ifndef YYTOKENTYPE 36 # define YYTOKENTYPE 37 /* Put the tokens into the symbol table, so that GDB and other debuggers 38 know about them. */ 39 enum yytokentype { 40 LLITERAL = 258, 41 LASOP = 259, 42 LCOLAS = 260, 43 LBREAK = 261, 44 LCASE = 262, 45 LCHAN = 263, 46 LCONST = 264, 47 LCONTINUE = 265, 48 LDDD = 266, 49 LDEFAULT = 267, 50 LDEFER = 268, 51 LELSE = 269, 52 LFALL = 270, 53 LFOR = 271, 54 LFUNC = 272, 55 LGO = 273, 56 LGOTO = 274, 57 LIF = 275, 58 LIMPORT = 276, 59 LINTERFACE = 277, 60 LMAP = 278, 61 LNAME = 279, 62 LPACKAGE = 280, 63 LRANGE = 281, 64 LRETURN = 282, 65 LSELECT = 283, 66 LSTRUCT = 284, 67 LSWITCH = 285, 68 LTYPE = 286, 69 LVAR = 287, 70 LANDAND = 288, 71 LANDNOT = 289, 72 LBODY = 290, 73 LCOMM = 291, 74 LDEC = 292, 75 LEQ = 293, 76 LGE = 294, 77 LGT = 295, 78 LIGNORE = 296, 79 LINC = 297, 80 LLE = 298, 81 LLSH = 299, 82 LLT = 300, 83 LNE = 301, 84 LOROR = 302, 85 LRSH = 303, 86 NotPackage = 304, 87 NotParen = 305, 88 PreferToRightParen = 306 89 }; 90 #endif 91 /* Tokens. */ 92 #define LLITERAL 258 93 #define LASOP 259 94 #define LCOLAS 260 95 #define LBREAK 261 96 #define LCASE 262 97 #define LCHAN 263 98 #define LCONST 264 99 #define LCONTINUE 265 100 #define LDDD 266 101 #define LDEFAULT 267 102 #define LDEFER 268 103 #define LELSE 269 104 #define LFALL 270 105 #define LFOR 271 106 #define LFUNC 272 107 #define LGO 273 108 #define LGOTO 274 109 #define LIF 275 110 #define LIMPORT 276 111 #define LINTERFACE 277 112 #define LMAP 278 113 #define LNAME 279 114 #define LPACKAGE 280 115 #define LRANGE 281 116 #define LRETURN 282 117 #define LSELECT 283 118 #define LSTRUCT 284 119 #define LSWITCH 285 120 #define LTYPE 286 121 #define LVAR 287 122 #define LANDAND 288 123 #define LANDNOT 289 124 #define LBODY 290 125 #define LCOMM 291 126 #define LDEC 292 127 #define LEQ 293 128 #define LGE 294 129 #define LGT 295 130 #define LIGNORE 296 131 #define LINC 297 132 #define LLE 298 133 #define LLSH 299 134 #define LLT 300 135 #define LNE 301 136 #define LOROR 302 137 #define LRSH 303 138 #define NotPackage 304 139 #define NotParen 305 140 #define PreferToRightParen 306 141 142 143 144 145 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 146 typedef union YYSTYPE 147 { 148 149 /* Line 2068 of yacc.c */ 150 #line 28 "go.y" 151 152 Node* node; 153 NodeList* list; 154 Type* type; 155 Sym* sym; 156 struct Val val; 157 int i; 158 159 160 161 /* Line 2068 of yacc.c */ 162 #line 163 "y.tab.h" 163 } YYSTYPE; 164 # define YYSTYPE_IS_TRIVIAL 1 165 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 166 # define YYSTYPE_IS_DECLARED 1 167 #endif 168 169 extern YYSTYPE yylval; 170 171