OLD | NEW |
1 /* A Bison parser, made by GNU Bison 2.3. */ | 1 /* A Bison parser, made by GNU Bison 2.5. */ |
2 | 2 |
3 /* Skeleton interface for Bison's Yacc-like parsers in C | 3 /* Bison interface for Yacc-like parsers in C |
4 | 4 |
5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 | 5 Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. |
6 Free Software Foundation, Inc. | 6 |
7 | 7 This program is free software: you can redistribute it and/or modify |
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 | 8 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) | 9 the Free Software Foundation, either version 3 of the License, or |
11 any later version. | 10 (at your option) any later version. |
12 | 11 |
13 This program is distributed in the hope that it will be useful, | 12 This program is distributed in the hope that it will be useful, |
14 but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 GNU General Public License for more details. | 15 GNU General Public License for more details. |
17 | 16 |
18 You should have received a copy of the GNU General Public License | 17 You should have received a copy of the GNU General Public License |
19 along with this program; if not, write to the Free Software | 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
21 Boston, MA 02110-1301, USA. */ | |
22 | 19 |
23 /* As a special exception, you may create a larger work that contains | 20 /* 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 | 21 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 | 22 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 | 23 parser generator using the skeleton or a modified version thereof |
27 as a parser skeleton. Alternatively, if you modify or redistribute | 24 as a parser skeleton. Alternatively, if you modify or redistribute |
28 the parser skeleton itself, you may (at your option) remove this | 25 the parser skeleton itself, you may (at your option) remove this |
29 special exception, which will cause the skeleton and the resulting | 26 special exception, which will cause the skeleton and the resulting |
30 Bison output files to be licensed under the GNU General Public | 27 Bison output files to be licensed under the GNU General Public |
31 License without this special exception. | 28 License without this special exception. |
32 | 29 |
33 This special exception was added by the Free Software Foundation in | 30 This special exception was added by the Free Software Foundation in |
34 version 2.2 of Bison. */ | 31 version 2.2 of Bison. */ |
35 | 32 |
| 33 |
36 /* Tokens. */ | 34 /* Tokens. */ |
37 #ifndef YYTOKENTYPE | 35 #ifndef YYTOKENTYPE |
38 # define YYTOKENTYPE | 36 # define YYTOKENTYPE |
39 /* Put the tokens into the symbol table, so that GDB and other debuggers | 37 /* Put the tokens into the symbol table, so that GDB and other debuggers |
40 know about them. */ | 38 know about them. */ |
41 enum yytokentype { | 39 enum yytokentype { |
42 LTYPE0 = 258, | 40 LTYPE0 = 258, |
43 LTYPE1 = 259, | 41 LTYPE1 = 259, |
44 LTYPE2 = 260, | 42 LTYPE2 = 260, |
45 LTYPE3 = 261, | 43 LTYPE3 = 261, |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 #define LSP 289 | 109 #define LSP 289 |
112 #define LNAME 290 | 110 #define LNAME 290 |
113 #define LLAB 291 | 111 #define LLAB 291 |
114 #define LVAR 292 | 112 #define LVAR 292 |
115 | 113 |
116 | 114 |
117 | 115 |
118 | 116 |
119 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED | 117 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
120 typedef union YYSTYPE | 118 typedef union YYSTYPE |
121 #line 37 "a.y" | |
122 { | 119 { |
| 120 |
| 121 /* Line 2068 of yacc.c */ |
| 122 #line 38 "a.y" |
| 123 |
123 Sym *sym; | 124 Sym *sym; |
124 vlong lval; | 125 vlong lval; |
125 double dval; | 126 double dval; |
126 char sval[8]; | 127 char sval[8]; |
127 Gen gen; | 128 Gen gen; |
128 Gen2 gen2; | 129 Gen2 gen2; |
129 } | 130 |
130 /* Line 1529 of yacc.c. */ | 131 |
131 #line 132 "y.tab.h" | 132 |
132 » YYSTYPE; | 133 /* Line 2068 of yacc.c */ |
| 134 #line 135 "y.tab.h" |
| 135 } YYSTYPE; |
| 136 # define YYSTYPE_IS_TRIVIAL 1 |
133 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ | 137 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
134 # define YYSTYPE_IS_DECLARED 1 | 138 # define YYSTYPE_IS_DECLARED 1 |
135 # define YYSTYPE_IS_TRIVIAL 1 | |
136 #endif | 139 #endif |
137 | 140 |
138 extern YYSTYPE yylval; | 141 extern YYSTYPE yylval; |
139 | 142 |
| 143 |
OLD | NEW |