summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/web2c/web2c-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/web2c/web2c-parser.h')
-rw-r--r--Build/source/texk/web2c/web2c/web2c-parser.h174
1 files changed, 80 insertions, 94 deletions
diff --git a/Build/source/texk/web2c/web2c/web2c-parser.h b/Build/source/texk/web2c/web2c/web2c-parser.h
index b9bdffea68c..9239d5201bf 100644
--- a/Build/source/texk/web2c/web2c/web2c-parser.h
+++ b/Build/source/texk/web2c/web2c/web2c-parser.h
@@ -1,19 +1,19 @@
-/* A Bison parser, made by GNU Bison 2.6.2. */
+/* A Bison parser, made by GNU Bison 3.0. */
/* Bison interface for Yacc-like parsers in C
-
- Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
-
+
+ Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
@@ -26,13 +26,13 @@
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
-
+
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
-#ifndef YY_____________TEX_LIVE____________TEXK_WEB_C_WEB_C_WEB_C_PARSER_H
-# define YY_____________TEX_LIVE____________TEXK_WEB_C_WEB_C_WEB_C_PARSER_H
-/* Enabling traces. */
+#ifndef YY_YY__TEX_LIVE_TEXK_WEB_C_WEB_C_WEB_C_PARSER_H_INCLUDED
+# define YY_YY__TEX_LIVE_TEXK_WEB_C_WEB_C_WEB_C_PARSER_H_INCLUDED
+/* Debug traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
@@ -40,70 +40,69 @@
extern int yydebug;
#endif
-/* Tokens. */
+/* Token type. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
- /* Put the tokens into the symbol table, so that GDB and other debuggers
- know about them. */
- enum yytokentype {
- array_tok = 258,
- begin_tok = 259,
- case_tok = 260,
- const_tok = 261,
- do_tok = 262,
- downto_tok = 263,
- else_tok = 264,
- end_tok = 265,
- file_tok = 266,
- for_tok = 267,
- function_tok = 268,
- goto_tok = 269,
- if_tok = 270,
- label_tok = 271,
- of_tok = 272,
- procedure_tok = 273,
- program_tok = 274,
- record_tok = 275,
- repeat_tok = 276,
- then_tok = 277,
- to_tok = 278,
- type_tok = 279,
- until_tok = 280,
- var_tok = 281,
- while_tok = 282,
- noreturn_tok = 283,
- others_tok = 284,
- r_num_tok = 285,
- i_num_tok = 286,
- string_literal_tok = 287,
- single_char_tok = 288,
- assign_tok = 289,
- two_dots_tok = 290,
- undef_id_tok = 291,
- var_id_tok = 292,
- proc_id_tok = 293,
- proc_param_tok = 294,
- fun_id_tok = 295,
- fun_param_tok = 296,
- const_id_tok = 297,
- type_id_tok = 298,
- hhb0_tok = 299,
- hhb1_tok = 300,
- field_id_tok = 301,
- define_tok = 302,
- field_tok = 303,
- break_tok = 304,
- great_eq_tok = 305,
- less_eq_tok = 306,
- not_eq_tok = 307,
- or_tok = 308,
- unary_minus_tok = 309,
- unary_plus_tok = 310,
- and_tok = 311,
- mod_tok = 312,
- div_tok = 313,
- not_tok = 314
- };
+ enum yytokentype
+ {
+ array_tok = 258,
+ begin_tok = 259,
+ case_tok = 260,
+ const_tok = 261,
+ do_tok = 262,
+ downto_tok = 263,
+ else_tok = 264,
+ end_tok = 265,
+ file_tok = 266,
+ for_tok = 267,
+ function_tok = 268,
+ goto_tok = 269,
+ if_tok = 270,
+ label_tok = 271,
+ of_tok = 272,
+ procedure_tok = 273,
+ program_tok = 274,
+ record_tok = 275,
+ repeat_tok = 276,
+ then_tok = 277,
+ to_tok = 278,
+ type_tok = 279,
+ until_tok = 280,
+ var_tok = 281,
+ while_tok = 282,
+ noreturn_tok = 283,
+ others_tok = 284,
+ r_num_tok = 285,
+ i_num_tok = 286,
+ string_literal_tok = 287,
+ single_char_tok = 288,
+ assign_tok = 289,
+ two_dots_tok = 290,
+ undef_id_tok = 291,
+ var_id_tok = 292,
+ proc_id_tok = 293,
+ proc_param_tok = 294,
+ fun_id_tok = 295,
+ fun_param_tok = 296,
+ const_id_tok = 297,
+ type_id_tok = 298,
+ hhb0_tok = 299,
+ hhb1_tok = 300,
+ field_id_tok = 301,
+ define_tok = 302,
+ field_tok = 303,
+ break_tok = 304,
+ not_eq_tok = 305,
+ less_eq_tok = 306,
+ great_eq_tok = 307,
+ or_tok = 308,
+ unary_plus_tok = 309,
+ unary_minus_tok = 310,
+ div_tok = 311,
+ mod_tok = 312,
+ and_tok = 313,
+ not_tok = 314
+ };
#endif
/* Tokens. */
#define array_tok 258
@@ -153,40 +152,27 @@ extern int yydebug;
#define define_tok 302
#define field_tok 303
#define break_tok 304
-#define great_eq_tok 305
+#define not_eq_tok 305
#define less_eq_tok 306
-#define not_eq_tok 307
+#define great_eq_tok 307
#define or_tok 308
-#define unary_minus_tok 309
-#define unary_plus_tok 310
-#define and_tok 311
+#define unary_plus_tok 309
+#define unary_minus_tok 310
+#define div_tok 311
#define mod_tok 312
-#define div_tok 313
+#define and_tok 313
#define not_tok 314
-
-
+/* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef int YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
-# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
+
extern YYSTYPE yylval;
-#ifdef YYPARSE_PARAM
-#if defined __STDC__ || defined __cplusplus
-int yyparse (void *YYPARSE_PARAM);
-#else
-int yyparse ();
-#endif
-#else /* ! YYPARSE_PARAM */
-#if defined __STDC__ || defined __cplusplus
int yyparse (void);
-#else
-int yyparse ();
-#endif
-#endif /* ! YYPARSE_PARAM */
-#endif /* !YY_____________TEX_LIVE____________TEXK_WEB_C_WEB_C_WEB_C_PARSER_H */
+#endif /* !YY_YY__TEX_LIVE_TEXK_WEB_C_WEB_C_WEB_C_PARSER_H_INCLUDED */