OLD | NEW |
1 /* A Bison parser, made by GNU Bison 2.4.2. */ | 1 /* A Bison parser, made by GNU Bison 2.7. */ |
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-2006, 2009-2010 Free Software | 5 Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc. |
6 Foundation, Inc. | |
7 ··· | 6 ··· |
8 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 |
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 3 of the License, or | 9 the Free Software Foundation, either version 3 of the License, or |
11 (at your option) 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, see <http://www.gnu.org/licenses/>. */ | 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
20 | 19 |
21 /* 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 |
22 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 |
23 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 |
24 parser generator using the skeleton or a modified version thereof | 23 parser generator using the skeleton or a modified version thereof |
25 as a parser skeleton. Alternatively, if you modify or redistribute | 24 as a parser skeleton. Alternatively, if you modify or redistribute |
26 the parser skeleton itself, you may (at your option) remove this | 25 the parser skeleton itself, you may (at your option) remove this |
27 special exception, which will cause the skeleton and the resulting | 26 special exception, which will cause the skeleton and the resulting |
28 Bison output files to be licensed under the GNU General Public | 27 Bison output files to be licensed under the GNU General Public |
29 License without this special exception. | 28 License without this special exception. |
30 ··· | 29 ··· |
31 This special exception was added by the Free Software Foundation in | 30 This special exception was added by the Free Software Foundation in |
32 version 2.2 of Bison. */ | 31 version 2.2 of Bison. */ |
33 | 32 |
| 33 #ifndef YY_YY_GLSLANG_TAB_H_INCLUDED |
| 34 # define YY_YY_GLSLANG_TAB_H_INCLUDED |
| 35 /* Enabling traces. */ |
| 36 #ifndef YYDEBUG |
| 37 # define YYDEBUG 0 |
| 38 #endif |
| 39 #if YYDEBUG |
| 40 extern int yydebug; |
| 41 #endif |
34 /* "%code requires" blocks. */ | 42 /* "%code requires" blocks. */ |
35 | 43 |
36 | 44 |
37 #define YYLTYPE TSourceLoc | 45 #define YYLTYPE TSourceLoc |
38 #define YYLTYPE_IS_DECLARED 1 | 46 #define YYLTYPE_IS_DECLARED 1 |
39 | 47 |
40 | 48 |
41 | 49 |
42 | 50 |
43 /* Tokens. */ | 51 /* Tokens. */ |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 LEFT_ANGLE = 344, | 143 LEFT_ANGLE = 344, |
136 RIGHT_ANGLE = 345, | 144 RIGHT_ANGLE = 345, |
137 VERTICAL_BAR = 346, | 145 VERTICAL_BAR = 346, |
138 CARET = 347, | 146 CARET = 347, |
139 AMPERSAND = 348, | 147 AMPERSAND = 348, |
140 QUESTION = 349 | 148 QUESTION = 349 |
141 }; | 149 }; |
142 #endif | 150 #endif |
143 | 151 |
144 | 152 |
145 | |
146 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED | 153 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
147 typedef union YYSTYPE | 154 typedef union YYSTYPE |
148 { | 155 { |
149 | 156 |
150 | 157 |
151 struct { | 158 struct { |
152 union { | 159 union { |
153 TString *string; | 160 TString *string; |
154 float f; | 161 float f; |
155 int i; | 162 int i; |
(...skipping 21 matching lines...) Expand all Loading... |
177 } interm; | 184 } interm; |
178 | 185 |
179 | 186 |
180 | 187 |
181 } YYSTYPE; | 188 } YYSTYPE; |
182 # define YYSTYPE_IS_TRIVIAL 1 | 189 # define YYSTYPE_IS_TRIVIAL 1 |
183 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ | 190 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
184 # define YYSTYPE_IS_DECLARED 1 | 191 # define YYSTYPE_IS_DECLARED 1 |
185 #endif | 192 #endif |
186 | 193 |
187 | |
188 | |
189 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED | 194 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED |
190 typedef struct YYLTYPE | 195 typedef struct YYLTYPE |
191 { | 196 { |
192 int first_line; | 197 int first_line; |
193 int first_column; | 198 int first_column; |
194 int last_line; | 199 int last_line; |
195 int last_column; | 200 int last_column; |
196 } YYLTYPE; | 201 } YYLTYPE; |
197 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */ | 202 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */ |
198 # define YYLTYPE_IS_DECLARED 1 | 203 # define YYLTYPE_IS_DECLARED 1 |
199 # define YYLTYPE_IS_TRIVIAL 1 | 204 # define YYLTYPE_IS_TRIVIAL 1 |
200 #endif | 205 #endif |
201 | 206 |
202 | 207 |
| 208 #ifdef YYPARSE_PARAM |
| 209 #if defined __STDC__ || defined __cplusplus |
| 210 int yyparse (void *YYPARSE_PARAM); |
| 211 #else |
| 212 int yyparse (); |
| 213 #endif |
| 214 #else /* ! YYPARSE_PARAM */ |
| 215 #if defined __STDC__ || defined __cplusplus |
| 216 int yyparse (TParseContext* context); |
| 217 #else |
| 218 int yyparse (); |
| 219 #endif |
| 220 #endif /* ! YYPARSE_PARAM */ |
203 | 221 |
| 222 #endif /* !YY_YY_GLSLANG_TAB_H_INCLUDED */ |
OLD | NEW |