LEFT | RIGHT |
1 /* A Bison parser, made by GNU Bison 2.6.5. */ | 1 /* A Bison parser, made by GNU Bison 2.7. */ |
2 | 2 |
3 /* Bison interface for Yacc-like parsers in C | 3 /* Bison interface for Yacc-like parsers in C |
4 ··· | 4 ··· |
5 Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc. | 5 Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc. |
6 ··· | 6 ··· |
7 This program is free software: you can redistribute it and/or modify | 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 | 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 | 9 the Free Software Foundation, either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
11 ··· | 11 ··· |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 #define LRSH 303 | 146 #define LRSH 303 |
147 #define NotPackage 304 | 147 #define NotPackage 304 |
148 #define NotParen 305 | 148 #define NotParen 305 |
149 #define PreferToRightParen 306 | 149 #define PreferToRightParen 306 |
150 | 150 |
151 | 151 |
152 | 152 |
153 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED | 153 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
154 typedef union YYSTYPE | 154 typedef union YYSTYPE |
155 { | 155 { |
156 /* Line 2042 of yacc.c */ | 156 /* Line 2058 of yacc.c */ |
157 #line 28 "go.y" | 157 #line 28 "go.y" |
158 | 158 |
159 Node* node; | 159 Node* node; |
160 NodeList* list; | 160 NodeList* list; |
161 Field* field; | 161 Field* field; |
162 FieldList* flist; | 162 FieldList* flist; |
163 Type* type; | 163 Type* type; |
164 Sym* sym; | 164 Sym* sym; |
165 struct Val val; | 165 struct Val val; |
166 int i; | 166 int i; |
167 | 167 |
168 | 168 |
169 /* Line 2042 of yacc.c */ | 169 /* Line 2058 of yacc.c */ |
170 #line 171 "y.tab.h" | 170 #line 171 "y.tab.h" |
171 } YYSTYPE; | 171 } YYSTYPE; |
172 # define YYSTYPE_IS_TRIVIAL 1 | 172 # define YYSTYPE_IS_TRIVIAL 1 |
173 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ | 173 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
174 # define YYSTYPE_IS_DECLARED 1 | 174 # define YYSTYPE_IS_DECLARED 1 |
175 #endif | 175 #endif |
176 | 176 |
177 extern YYSTYPE yylval; | 177 extern YYSTYPE yylval; |
178 | 178 |
179 #ifdef YYPARSE_PARAM | 179 #ifdef YYPARSE_PARAM |
180 #if defined __STDC__ || defined __cplusplus | 180 #if defined __STDC__ || defined __cplusplus |
181 int yyparse (void *YYPARSE_PARAM); | 181 int yyparse (void *YYPARSE_PARAM); |
182 #else | 182 #else |
183 int yyparse (); | 183 int yyparse (); |
184 #endif | 184 #endif |
185 #else /* ! YYPARSE_PARAM */ | 185 #else /* ! YYPARSE_PARAM */ |
186 #if defined __STDC__ || defined __cplusplus | 186 #if defined __STDC__ || defined __cplusplus |
187 int yyparse (void); | 187 int yyparse (void); |
188 #else | 188 #else |
189 int yyparse (); | 189 int yyparse (); |
190 #endif | 190 #endif |
191 #endif /* ! YYPARSE_PARAM */ | 191 #endif /* ! YYPARSE_PARAM */ |
192 | 192 |
193 #endif /* !YY_YY_Y_TAB_H_INCLUDED */ | 193 #endif /* !YY_YY_Y_TAB_H_INCLUDED */ |
LEFT | RIGHT |