summaryrefslogtreecommitdiff
path: root/extra/config/zconf.tab.c_shipped
diff options
context:
space:
mode:
Diffstat (limited to 'extra/config/zconf.tab.c_shipped')
-rw-r--r--extra/config/zconf.tab.c_shipped1745
1 files changed, 948 insertions, 797 deletions
diff --git a/extra/config/zconf.tab.c_shipped b/extra/config/zconf.tab.c_shipped
index d8ba013b6..2a02d8173 100644
--- a/extra/config/zconf.tab.c_shipped
+++ b/extra/config/zconf.tab.c_shipped
@@ -1,49 +1,137 @@
-/* A Bison parser, made from zconf.y
- by GNU bison 1.35. */
+/* A Bison parser, made from zconf.y, by GNU bison 1.75. */
-#define YYBISON 1 /* Identify Bison output. */
+/* Skeleton parser for Yacc-like parsing with Bison,
+ Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 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 2, 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, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+/* As a special exception, when this file is copied by Bison into a
+ Bison output file, you may use that output file without restriction.
+ This special exception was added by the Free Software Foundation
+ in version 1.24 of Bison. */
+
+/* Written by Richard Stallman by simplifying the original so called
+ ``semantic'' parser. */
+
+/* All symbols defined below should begin with yy or YY, to avoid
+ infringing on user name space. This should be done even for local
+ variables, as they might otherwise be expanded by user macros.
+ There are some unavoidable exceptions within include files to
+ define necessary library symbols; they are noted "INFRINGES ON
+ USER NAME SPACE" below. */
+
+/* Identify Bison output. */
+#define YYBISON 1
+
+/* Pure parsers. */
+#define YYPURE 0
+
+/* Using locations. */
+#define YYLSP_NEEDED 0
+
+/* If NAME_PREFIX is specified substitute the variables and functions
+ names. */
#define yyparse zconfparse
-#define yylex zconflex
+#define yylex zconflex
#define yyerror zconferror
-#define yylval zconflval
-#define yychar zconfchar
+#define yylval zconflval
+#define yychar zconfchar
#define yydebug zconfdebug
#define yynerrs zconfnerrs
-# define T_MAINMENU 257
-# define T_MENU 258
-# define T_ENDMENU 259
-# define T_SOURCE 260
-# define T_CHOICE 261
-# define T_ENDCHOICE 262
-# define T_COMMENT 263
-# define T_CONFIG 264
-# define T_HELP 265
-# define T_HELPTEXT 266
-# define T_IF 267
-# define T_ENDIF 268
-# define T_DEPENDS 269
-# define T_REQUIRES 270
-# define T_OPTIONAL 271
-# define T_PROMPT 272
-# define T_DEFAULT 273
-# define T_TRISTATE 274
-# define T_BOOLEAN 275
-# define T_INT 276
-# define T_HEX 277
-# define T_WORD 278
-# define T_STRING 279
-# define T_UNEQUAL 280
-# define T_EOF 281
-# define T_EOL 282
-# define T_CLOSE_PAREN 283
-# define T_OPEN_PAREN 284
-# define T_ON 285
-# define T_OR 286
-# define T_AND 287
-# define T_EQUAL 288
-# define T_NOT 289
+
+/* Tokens. */
+#ifndef YYTOKENTYPE
+# define YYTOKENTYPE
+ /* Put the tokens into the symbol table, so that GDB and other debuggers
+ know about them. */
+ enum yytokentype {
+ T_MAINMENU = 258,
+ T_MENU = 259,
+ T_ENDMENU = 260,
+ T_SOURCE = 261,
+ T_CHOICE = 262,
+ T_ENDCHOICE = 263,
+ T_COMMENT = 264,
+ T_CONFIG = 265,
+ T_HELP = 266,
+ T_HELPTEXT = 267,
+ T_IF = 268,
+ T_ENDIF = 269,
+ T_DEPENDS = 270,
+ T_REQUIRES = 271,
+ T_OPTIONAL = 272,
+ T_PROMPT = 273,
+ T_DEFAULT = 274,
+ T_TRISTATE = 275,
+ T_BOOLEAN = 276,
+ T_INT = 277,
+ T_HEX = 278,
+ T_WORD = 279,
+ T_STRING = 280,
+ T_UNEQUAL = 281,
+ T_EOF = 282,
+ T_EOL = 283,
+ T_CLOSE_PAREN = 284,
+ T_OPEN_PAREN = 285,
+ T_ON = 286,
+ T_OR = 287,
+ T_AND = 288,
+ T_EQUAL = 289,
+ T_NOT = 290
+ };
+#endif
+#define T_MAINMENU 258
+#define T_MENU 259
+#define T_ENDMENU 260
+#define T_SOURCE 261
+#define T_CHOICE 262
+#define T_ENDCHOICE 263
+#define T_COMMENT 264
+#define T_CONFIG 265
+#define T_HELP 266
+#define T_HELPTEXT 267
+#define T_IF 268
+#define T_ENDIF 269
+#define T_DEPENDS 270
+#define T_REQUIRES 271
+#define T_OPTIONAL 272
+#define T_PROMPT 273
+#define T_DEFAULT 274
+#define T_TRISTATE 275
+#define T_BOOLEAN 276
+#define T_INT 277
+#define T_HEX 278
+#define T_WORD 279
+#define T_STRING 280
+#define T_UNEQUAL 281
+#define T_EOF 282
+#define T_EOL 283
+#define T_CLOSE_PAREN 284
+#define T_OPEN_PAREN 285
+#define T_ON 286
+#define T_OR 287
+#define T_AND 288
+#define T_EQUAL 289
+#define T_NOT 290
+
+
+
+
+/* Copy the first part of user declarations. */
#line 1 "zconf.y"
/*
@@ -74,38 +162,173 @@ struct symbol *symbol_hash[257];
#define YYERROR_VERBOSE
-#line 32 "zconf.y"
+
+/* Enabling traces. */
+#ifndef YYDEBUG
+# define YYDEBUG 1
+#endif
+
+/* Enabling verbose error messages. */
+#ifdef YYERROR_VERBOSE
+# undef YYERROR_VERBOSE
+# define YYERROR_VERBOSE 1
+#else
+# define YYERROR_VERBOSE 0
+#endif
+
#ifndef YYSTYPE
-typedef union
-{
+#line 33 "zconf.y"
+typedef union {
int token;
char *string;
struct symbol *symbol;
struct expr *expr;
struct menu *menu;
} yystype;
+/* Line 193 of /usr/share/bison/yacc.c. */
+#line 190 "zconf.tab.c"
# define YYSTYPE yystype
# define YYSTYPE_IS_TRIVIAL 1
#endif
+
+#ifndef YYLTYPE
+typedef struct yyltype
+{
+ int first_line;
+ int first_column;
+ int last_line;
+ int last_column;
+} yyltype;
+# define YYLTYPE yyltype
+# define YYLTYPE_IS_TRIVIAL 1
+#endif
+
+/* Copy the second part of user declarations. */
#line 83 "zconf.y"
#define LKC_DIRECT_LINK
#include "lkc.h"
-#ifndef YYDEBUG
-# define YYDEBUG 1
+
+
+/* Line 213 of /usr/share/bison/yacc.c. */
+#line 215 "zconf.tab.c"
+
+#if ! defined (yyoverflow) || YYERROR_VERBOSE
+
+/* The parser invokes alloca or malloc; define the necessary symbols. */
+
+# if YYSTACK_USE_ALLOCA
+# define YYSTACK_ALLOC alloca
+# else
+# ifndef YYSTACK_USE_ALLOCA
+# if defined (alloca) || defined (_ALLOCA_H)
+# define YYSTACK_ALLOC alloca
+# else
+# ifdef __GNUC__
+# define YYSTACK_ALLOC __builtin_alloca
+# endif
+# endif
+# endif
+# endif
+
+# ifdef YYSTACK_ALLOC
+ /* Pacify GCC's `empty if-body' warning. */
+# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
+# else
+# if defined (__STDC__) || defined (__cplusplus)
+# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
+# define YYSIZE_T size_t
+# endif
+# define YYSTACK_ALLOC malloc
+# define YYSTACK_FREE free
+# endif
+#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */
+
+
+#if (! defined (yyoverflow) \
+ && (! defined (__cplusplus) \
+ || (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
+
+/* A type that is properly aligned for any stack member. */
+union yyalloc
+{
+ short yyss;
+ YYSTYPE yyvs;
+ };
+
+/* The size of the maximum gap between one aligned stack and the next. */
+# define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1)
+
+/* The size of an array large to enough to hold all stacks, each with
+ N elements. */
+# define YYSTACK_BYTES(N) \
+ ((N) * (sizeof (short) + sizeof (YYSTYPE)) \
+ + YYSTACK_GAP_MAX)
+
+/* Copy COUNT objects from FROM to TO. The source and destination do
+ not overlap. */
+# ifndef YYCOPY
+# if 1 < __GNUC__
+# define YYCOPY(To, From, Count) \
+ __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
+# else
+# define YYCOPY(To, From, Count) \
+ do \
+ { \
+ register YYSIZE_T yyi; \
+ for (yyi = 0; yyi < (Count); yyi++) \
+ (To)[yyi] = (From)[yyi]; \
+ } \
+ while (0)
+# endif
+# endif
+
+/* Relocate STACK from its old location to the new one. The
+ local variables YYSIZE and YYSTACKSIZE give the old and new number of
+ elements in the stack, and YYPTR gives the new location of the
+ stack. Advance YYPTR to a properly aligned location for the next
+ stack. */
+# define YYSTACK_RELOCATE(Stack) \
+ do \
+ { \
+ YYSIZE_T yynewbytes; \
+ YYCOPY (&yyptr->Stack, Stack, yysize); \
+ Stack = &yyptr->Stack; \
+ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAX; \
+ yyptr += yynewbytes / sizeof (*yyptr); \
+ } \
+ while (0)
+
#endif
+#if defined (__STDC__) || defined (__cplusplus)
+ typedef signed char yysigned_char;
+#else
+ typedef short yysigned_char;
+#endif
+/* YYFINAL -- State number of the termination state. */
+#define YYFINAL 2
+#define YYLAST 151
-#define YYFINAL 145
-#define YYFLAG -32768
-#define YYNTBASE 36
+/* YYNTOKENS -- Number of terminals. */
+#define YYNTOKENS 36
+/* YYNNTS -- Number of nonterminals. */
+#define YYNNTS 39
+/* YYNRULES -- Number of rules. */
+#define YYNRULES 96
+/* YYNRULES -- Number of states. */
+#define YYNSTATES 145
-/* YYTRANSLATE(YYLEX) -- Bison token number corresponding to YYLEX. */
-#define YYTRANSLATE(x) ((unsigned)(x) <= 289 ? yytranslate[x] : 74)
+/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
+#define YYUNDEFTOK 2
+#define YYMAXUTOK 290
-/* YYTRANSLATE[YYLEX] -- Bison token number corresponding to YYLEX. */
-static const char yytranslate[] =
+#define YYTRANSLATE(X) \
+ ((unsigned)(X) <= YYMAXUTOK ? yytranslate[X] : YYUNDEFTOK)
+
+/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
+static const unsigned char yytranslate[] =
{
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
@@ -132,367 +355,271 @@ static const char yytranslate[] =
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 1, 3, 4, 5,
- 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
- 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
- 26, 27, 28, 29, 30, 31, 32, 33, 34, 35
+ 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
+ 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
+ 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
+ 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
+ 35
};
#if YYDEBUG
-static const short yyprhs[] =
+/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
+ YYRHS. */
+static const unsigned short yyprhs[] =
{
- 0, 0, 1, 4, 6, 8, 10, 14, 16, 18,
- 20, 23, 25, 27, 29, 31, 33, 36, 40, 41,
- 45, 49, 52, 55, 58, 61, 64, 67, 70, 74,
- 78, 80, 84, 86, 91, 94, 95, 99, 103, 106,
- 109, 113, 115, 118, 119, 122, 125, 127, 133, 137,
- 138, 141, 144, 147, 150, 154, 156, 161, 164, 165,
- 168, 171, 174, 178, 181, 184, 187, 191, 194, 197,
- 198, 202, 205, 209, 212, 215, 216, 218, 222, 224,
- 226, 228, 230, 232, 234, 236, 237, 240, 242, 246,
- 250, 254, 257, 261, 265, 267
+ 0, 0, 3, 4, 7, 9, 11, 13, 17, 19,
+ 21, 23, 26, 28, 30, 32, 34, 36, 39, 43,
+ 44, 48, 52, 55, 58, 61, 64, 67, 70, 73,
+ 77, 81, 83, 87, 89, 94, 97, 98, 102, 106,
+ 109, 112, 116, 118, 121, 122, 125, 128, 130, 136,
+ 140, 141, 144, 147, 150, 153, 157, 159, 164, 167,
+ 168, 171, 174, 177, 181, 184, 187, 190, 194, 197,
+ 200, 201, 205, 208, 212, 215, 218, 219, 221, 225,
+ 227, 229, 231, 233, 235, 237, 239, 240, 243, 245,
+ 249, 253, 257, 260, 264, 268, 270
};
-static const short yyrhs[] =
+
+/* YYRHS -- A `-1'-separated list of the rules' RHS. */
+static const yysigned_char yyrhs[] =
{
- -1, 36, 37, 0, 38, 0, 46, 0, 57, 0,
- 3, 68, 70, 0, 5, 0, 14, 0, 8, 0,
- 1, 70, 0, 52, 0, 62, 0, 40, 0, 60,
- 0, 70, 0, 10, 24, 0, 39, 28, 41, 0,
- 0, 41, 42, 28, 0, 41, 66, 28, 0, 41,
- 64, 0, 41, 28, 0, 20, 67, 0, 21, 67,
- 0, 22, 67, 0, 23, 67, 0, 25, 67, 0,
- 18, 68, 71, 0, 19, 73, 71, 0, 7, 0,
- 43, 28, 47, 0, 69, 0, 44, 49, 45, 28,
- 0, 44, 49, 0, 0, 47, 48, 28, 0, 47,
- 66, 28, 0, 47, 64, 0, 47, 28, 0, 18,
- 68, 71, 0, 17, 0, 19, 73, 0, 0, 49,
- 38, 0, 13, 72, 0, 69, 0, 50, 28, 53,
- 51, 28, 0, 50, 28, 53, 0, 0, 53, 38,
- 0, 53, 57, 0, 53, 46, 0, 4, 68, 0,
- 54, 28, 65, 0, 69, 0, 55, 58, 56, 28,
- 0, 55, 58, 0, 0, 58, 38, 0, 58, 57,
- 0, 58, 46, 0, 58, 1, 28, 0, 6, 68,
- 0, 59, 28, 0, 9, 68, 0, 61, 28, 65,
- 0, 11, 28, 0, 63, 12, 0, 0, 65, 66,
- 28, 0, 65, 28, 0, 15, 31, 72, 0, 15,
- 72, 0, 16, 72, 0, 0, 68, 0, 68, 13,
- 72, 0, 24, 0, 25, 0, 5, 0, 8, 0,
- 14, 0, 28, 0, 27, 0, 0, 13, 72, 0,
- 73, 0, 73, 34, 73, 0, 73, 26, 73, 0,
- 30, 72, 29, 0, 35, 72, 0, 72, 32, 72,
- 0, 72, 33, 72, 0, 24, 0, 25, 0
+ 37, 0, -1, -1, 37, 38, -1, 39, -1, 47,
+ -1, 58, -1, 3, 69, 71, -1, 5, -1, 14,
+ -1, 8, -1, 1, 71, -1, 53, -1, 63, -1,
+ 41, -1, 61, -1, 71, -1, 10, 24, -1, 40,
+ 28, 42, -1, -1, 42, 43, 28, -1, 42, 67,
+ 28, -1, 42, 65, -1, 42, 28, -1, 20, 68,
+ -1, 21, 68, -1, 22, 68, -1, 23, 68, -1,
+ 25, 68, -1, 18, 69, 72, -1, 19, 74, 72,
+ -1, 7, -1, 44, 28, 48, -1, 70, -1, 45,
+ 50, 46, 28, -1, 45, 50, -1, -1, 48, 49,
+ 28, -1, 48, 67, 28, -1, 48, 65, -1, 48,
+ 28, -1, 18, 69, 72, -1, 17, -1, 19, 74,
+ -1, -1, 50, 39, -1, 13, 73, -1, 70, -1,
+ 51, 28, 54, 52, 28, -1, 51, 28, 54, -1,
+ -1, 54, 39, -1, 54, 58, -1, 54, 47, -1,
+ 4, 69, -1, 55, 28, 66, -1, 70, -1, 56,
+ 59, 57, 28, -1, 56, 59, -1, -1, 59, 39,
+ -1, 59, 58, -1, 59, 47, -1, 59, 1, 28,
+ -1, 6, 69, -1, 60, 28, -1, 9, 69, -1,
+ 62, 28, 66, -1, 11, 28, -1, 64, 12, -1,
+ -1, 66, 67, 28, -1, 66, 28, -1, 15, 31,
+ 73, -1, 15, 73, -1, 16, 73, -1, -1, 69,
+ -1, 69, 13, 73, -1, 24, -1, 25, -1, 5,
+ -1, 8, -1, 14, -1, 28, -1, 27, -1, -1,
+ 13, 73, -1, 74, -1, 74, 34, 74, -1, 74,
+ 26, 74, -1, 30, 73, 29, -1, 35, 73, -1,
+ 73, 32, 73, -1, 73, 33, 73, -1, 24, -1,
+ 25, -1
};
-#endif
-
-#if YYDEBUG
-/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
-static const short yyrline[] =
+/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
+static const unsigned short yyrline[] =
{
- 0, 88, 89, 92, 93, 94, 95, 96, 97, 98,
- 99, 102, 104, 105, 106, 107, 113, 121, 127, 129,
- 130, 131, 132, 135, 141, 147, 153, 159, 165, 171,
- 179, 188, 194, 202, 204, 210, 212, 213, 214, 215,
- 218, 224, 230, 237, 239, 244, 254, 262, 264, 270,
- 272, 273, 274, 279, 286, 292, 300, 302, 308, 310,
- 311, 312, 313, 316, 322, 329, 336, 343, 349, 356,
- 357, 358, 361, 366, 371, 379, 381, 385, 390, 391,
- 394, 395, 396, 399, 400, 402, 403, 406, 407, 408,
- 409, 410, 411, 412, 415, 416
+ 0, 88, 88, 89, 92, 93, 94, 95, 96, 97,
+ 98, 99, 102, 104, 105, 106, 107, 113, 121, 127,
+ 129, 130, 131, 132, 135, 141, 147, 153, 159, 165,
+ 171, 179, 188, 194, 202, 204, 210, 212, 213, 214,
+ 215, 218, 224, 230, 237, 239, 244, 254, 262, 264,
+ 270, 272, 273, 274, 279, 286, 292, 300, 302, 308,
+ 310, 311, 312, 313, 316, 322, 329, 336, 343, 349,
+ 356, 357, 358, 361, 366, 371, 379, 381, 385, 390,
+ 391, 394, 395, 396, 399, 400, 402, 403, 406, 407,
+ 408, 409, 410, 411, 412, 415, 416
};
#endif
-
-#if (YYDEBUG) || defined YYERROR_VERBOSE
-
-/* YYTNAME[TOKEN_NUM] -- String name of the token TOKEN_NUM. */
+#if YYDEBUG || YYERROR_VERBOSE
+/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
+ First, the terminals, then, starting at YYNTOKENS, nonterminals. */
static const char *const yytname[] =
{
- "$", "error", "$undefined.", "T_MAINMENU", "T_MENU", "T_ENDMENU",
+ "$end", "error", "$undefined", "T_MAINMENU", "T_MENU", "T_ENDMENU",
"T_SOURCE", "T_CHOICE", "T_ENDCHOICE", "T_COMMENT", "T_CONFIG",
"T_HELP", "T_HELPTEXT", "T_IF", "T_ENDIF", "T_DEPENDS", "T_REQUIRES",
"T_OPTIONAL", "T_PROMPT", "T_DEFAULT", "T_TRISTATE", "T_BOOLEAN",
"T_INT", "T_HEX", "T_WORD", "T_STRING", "T_UNEQUAL", "T_EOF", "T_EOL",
"T_CLOSE_PAREN", "T_OPEN_PAREN", "T_ON", "T_OR", "T_AND", "T_EQUAL",
- "T_NOT", "input", "block", "common_block", "config_entry_start",
- "config_stmt", "config_option_list", "config_option", "choice",
- "choice_entry", "choice_end", "choice_stmt", "choice_option_list",
- "choice_option", "choice_block", "if", "if_end", "if_stmt", "if_block",
- "menu", "menu_entry", "menu_end", "menu_stmt", "menu_block", "source",
- "source_stmt", "comment", "comment_stmt", "help_start", "help",
- "depends_list", "depends", "prompt_stmt_opt", "prompt", "end",
- "nl_or_eof", "if_expr", "expr", "symbol", 0
+ "T_NOT", "$accept", "input", "block", "common_block",
+ "config_entry_start", "config_stmt", "config_option_list",
+ "config_option", "choice", "choice_entry", "choice_end", "choice_stmt",
+ "choice_option_list", "choice_option", "choice_block", "if", "if_end",
+ "if_stmt", "if_block", "menu", "menu_entry", "menu_end", "menu_stmt",
+ "menu_block", "source", "source_stmt", "comment", "comment_stmt",
+ "help_start", "help", "depends_list", "depends", "prompt_stmt_opt",
+ "prompt", "end", "nl_or_eof", "if_expr", "expr", "symbol", 0
};
#endif
-/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
-static const short yyr1[] =
+# ifdef YYPRINT
+/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
+ token YYLEX-NUM. */
+static const unsigned short yytoknum[] =
{
- 0, 36, 36, 37, 37, 37, 37, 37, 37, 37,
- 37, 38, 38, 38, 38, 38, 39, 40, 41, 41,
- 41, 41, 41, 42, 42, 42, 42, 42, 42, 42,
- 43, 44, 45, 46, 46, 47, 47, 47, 47, 47,
- 48, 48, 48, 49, 49, 50, 51, 52, 52, 53,
- 53, 53, 53, 54, 55, 56, 57, 57, 58, 58,
- 58, 58, 58, 59, 60, 61, 62, 63, 64, 65,
- 65, 65, 66, 66, 66, 67, 67, 67, 68, 68,
- 69, 69, 69, 70, 70, 71, 71, 72, 72, 72,
- 72, 72, 72, 72, 73, 73
+ 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
+ 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
+ 275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
+ 285, 286, 287, 288, 289, 290
};
+# endif
-/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
-static const short yyr2[] =
+/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
+static const unsigned char yyr1[] =
{
- 0, 0, 2, 1, 1, 1, 3, 1, 1, 1,
- 2, 1, 1, 1, 1, 1, 2, 3, 0, 3,
- 3, 2, 2, 2, 2, 2, 2, 2, 3, 3,
- 1, 3, 1, 4, 2, 0, 3, 3, 2, 2,
- 3, 1, 2, 0, 2, 2, 1, 5, 3, 0,
- 2, 2, 2, 2, 3, 1, 4, 2, 0, 2,
- 2, 2, 3, 2, 2, 2, 3, 2, 2, 0,
- 3, 2, 3, 2, 2, 0, 1, 3, 1, 1,
- 1, 1, 1, 1, 1, 0, 2, 1, 3, 3,
- 3, 2, 3, 3, 1, 1
+ 0, 36, 37, 37, 38, 38, 38, 38, 38, 38,
+ 38, 38, 39, 39, 39, 39, 39, 40, 41, 42,
+ 42, 42, 42, 42, 43, 43, 43, 43, 43, 43,
+ 43, 44, 45, 46, 47, 47, 48, 48, 48, 48,
+ 48, 49, 49, 49, 50, 50, 51, 52, 53, 53,
+ 54, 54, 54, 54, 55, 56, 57, 58, 58, 59,
+ 59, 59, 59, 59, 60, 61, 62, 63, 64, 65,
+ 66, 66, 66, 67, 67, 67, 68, 68, 68, 69,
+ 69, 70, 70, 70, 71, 71, 72, 72, 73, 73,
+ 73, 73, 73, 73, 73, 74, 74
};
-/* YYDEFACT[S] -- default rule to reduce with in state S when YYTABLE
- doesn't specify something else to do. Zero means the default is an
- error. */
-static const short yydefact[] =
+/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
+static const unsigned char yyr2[] =
{
- 1, 0, 0, 0, 0, 7, 0, 30, 9, 0,
- 0, 0, 8, 84, 83, 2, 3, 0, 13, 0,
- 43, 4, 0, 11, 0, 58, 5, 0, 14, 0,
- 12, 15, 10, 78, 79, 0, 53, 63, 65, 16,
- 94, 95, 0, 0, 45, 87, 18, 35, 34, 49,
- 69, 0, 64, 69, 6, 0, 91, 0, 0, 0,
- 0, 17, 31, 80, 81, 82, 44, 0, 32, 48,
- 54, 0, 59, 61, 0, 60, 55, 66, 90, 92,
- 93, 89, 88, 0, 0, 0, 0, 0, 75, 75,
- 75, 75, 75, 22, 0, 0, 21, 0, 41, 0,
- 0, 39, 0, 38, 0, 33, 50, 52, 0, 51,
- 46, 71, 0, 62, 56, 67, 0, 73, 74, 85,
- 85, 23, 76, 24, 25, 26, 27, 19, 68, 20,
- 85, 42, 36, 37, 47, 70, 72, 0, 28, 29,
- 0, 40, 86, 77, 0, 0
+ 0, 2, 0, 2, 1, 1, 1, 3, 1, 1,
+ 1, 2, 1, 1, 1, 1, 1, 2, 3, 0,
+ 3, 3, 2, 2, 2, 2, 2, 2, 2, 3,
+ 3, 1, 3, 1, 4, 2, 0, 3, 3, 2,
+ 2, 3, 1, 2, 0, 2, 2, 1, 5, 3,
+ 0, 2, 2, 2, 2, 3, 1, 4, 2, 0,
+ 2, 2, 2, 3, 2, 2, 2, 3, 2, 2,
+ 0, 3, 2, 3, 2, 2, 0, 1, 3, 1,
+ 1, 1, 1, 1, 1, 1, 0, 2, 1, 3,
+ 3, 3, 2, 3, 3, 1, 1
};
+/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
+ STATE-NUM when YYTABLE doesn't specify something else to do. Zero
+ means the default is an error. */
+static const unsigned char yydefact[] =
+{
+ 2, 0, 1, 0, 0, 0, 8, 0, 31, 10,
+ 0, 0, 0, 9, 85, 84, 3, 4, 0, 14,
+ 0, 44, 5, 0, 12, 0, 59, 6, 0, 15,
+ 0, 13, 16, 11, 79, 80, 0, 54, 64, 66,
+ 17, 95, 96, 0, 0, 46, 88, 19, 36, 35,
+ 50, 70, 0, 65, 70, 7, 0, 92, 0, 0,
+ 0, 0, 18, 32, 81, 82, 83, 45, 0, 33,
+ 49, 55, 0, 60, 62, 0, 61, 56, 67, 91,
+ 93, 94, 90, 89, 0, 0, 0, 0, 0, 76,
+ 76, 76, 76, 76, 23, 0, 0, 22, 0, 42,
+ 0, 0, 40, 0, 39, 0, 34, 51, 53, 0,
+ 52, 47, 72, 0, 63, 57, 68, 0, 74, 75,
+ 86, 86, 24, 77, 25, 26, 27, 28, 20, 69,
+ 21, 86, 43, 37, 38, 48, 71, 73, 0, 29,
+ 30, 0, 41, 87, 78
+};
+
+/* YYDEFGOTO[NTERM-NUM]. */
static const short yydefgoto[] =
{
- 1, 15, 16, 17, 18, 61, 94, 19, 20, 67,
- 21, 62, 102, 48, 22, 108, 23, 69, 24, 25,
- 74, 26, 51, 27, 28, 29, 30, 95, 96, 70,
- 112, 121, 122, 68, 31, 138, 44, 45
+ -1, 1, 16, 17, 18, 19, 62, 95, 20, 21,
+ 68, 22, 63, 103, 49, 23, 109, 24, 70, 25,
+ 26, 75, 27, 52, 28, 29, 30, 31, 96, 97,
+ 71, 113, 122, 123, 69, 32, 139, 45, 46
};
+/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
+ STATE-NUM. */
+#define YYPACT_NINF -120
static const short yypact[] =
{
- -32768, 17, 41, 65, 65,-32768, 65,-32768,-32768, 65,
- -11, 40,-32768,-32768,-32768,-32768,-32768, 13,-32768, 23,
- -32768,-32768, 66,-32768, 72,-32768,-32768, 77,-32768, 81,
- -32768,-32768,-32768,-32768,-32768, 41,-32768,-32768,-32768,-32768,
- -32768,-32768, 40, 40, 64, 59,-32768,-32768, 98,-32768,
- -32768, 49,-32768,-32768,-32768, 7,-32768, 40, 40, 67,
- 67, 99, 117,-32768,-32768,-32768,-32768, 85,-32768, 74,
- 18, 88,-32768,-32768, 95,-32768,-32768, 18,-32768, 96,
- -32768,-32768,-32768, 102, 36, 40, 65, 67, 65, 65,
- 65, 65, 65,-32768, 103, 129,-32768, 114,-32768, 65,
- 67,-32768, 115,-32768, 116,-32768,-32768,-32768, 118,-32768,
- -32768,-32768, 119,-32768,-32768,-32768, 40, 64, 64, 135,
- 135,-32768, 136,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- 135,-32768,-32768,-32768,-32768,-32768, 64, 40,-32768,-32768,
- 40,-32768, 64, 64, 150,-32768
+ -120, 17, -120, 41, 48, 48, -120, 48, -120, -120,
+ 48, -11, 40, -120, -120, -120, -120, -120, 13, -120,
+ 23, -120, -120, 66, -120, 72, -120, -120, 77, -120,
+ 81, -120, -120, -120, -120, -120, 41, -120, -120, -120,
+ -120, -120, -120, 40, 40, 57, 59, -120, -120, 98,
+ -120, -120, 49, -120, -120, -120, 7, -120, 40, 40,
+ 67, 67, 99, 117, -120, -120, -120, -120, 85, -120,
+ 74, 18, 88, -120, -120, 95, -120, -120, 18, -120,
+ 96, -120, -120, -120, 102, 36, 40, 48, 67, 48,
+ 48, 48, 48, 48, -120, 103, 129, -120, 114, -120,
+ 48, 67, -120, 115, -120, 116, -120, -120, -120, 118,
+ -120, -120, -120, 119, -120, -120, -120, 40, 57, 57,
+ 135, 135, -120, 136, -120, -120, -120, -120, -120, -120,
+ -120, 135, -120, -120, -120, -120, -120, 57, 40, -120,
+ -120, 40, -120, 57, 57
};
-static const short yypgoto[] =
+/* YYPGOTO[NTERM-NUM]. */
+static const yysigned_char yypgoto[] =
{
- -32768,-32768, -37,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- -41,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- -32768, -32,-32768,-32768,-32768,-32768,-32768,-32768, 89, 100,
- 11, 48, 0, -22, 3, -118, -42, -52
+ -120, -120, -120, -38, -120, -120, -120, -120, -120, -120,
+ -120, -42, -120, -120, -120, -120, -120, -120, -120, -120,
+ -120, -120, -33, -120, -120, -120, -120, -120, -120, 87,
+ 97, 34, 47, -1, -23, 2, -119, -43, -53
};
-
-#define YYLAST 153
-
-
+/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
+ positive, shift that token. If negative, reduce the rule which
+ number is the opposite. If zero, do what YYDEFACT says.
+ If YYTABLE_NINF, parse error. */
+#define YYTABLE_NINF -59
static const short yytable[] =
{
- 55, 56, 139, 35, 36, 32, 37, 81, 82, 38,
- 73, 66, 141, 39, 72, 79, 80, 144, 2, 75,
- 3, 4, 5, 6, 7, 8, 9, 10, 107, 76,
- 11, 12, 106, 84, 85, 120, 78, 109, 54, 57,
- 58, 46, 117, 118, 13, 14, 111, 110, 131, -57,
- 71, 47, -57, 4, 63, 6, 7, 64, 9, 10,
- 40, 41, 11, 65, 40, 41, 42, 116, 13, 14,
- 42, 43, 97, 104, 136, 43, 13, 14, 4, 63,
- 6, 7, 64, 9, 10, 59, 119, 11, 65, 33,
- 34, 40, 41, 60, 49, 142, 57, 58, 143, 130,
- 50, 13, 14, 63, 6, 52, 64, 9, 10, 53,
- 83, 11, 65, 105, 84, 85, 113, 86, 87, 88,
- 89, 90, 91, 114, 92, 13, 14, 93, 83, 58,
- 115, 127, 84, 85, 98, 99, 100, 123, 124, 125,
- 126, 128, 129, 132, 133, 101, 134, 135, 137, 140,
- 145, 103, 0, 77
+ 56, 57, 140, 36, 37, 33, 38, 82, 83, 39,
+ 74, 67, 142, 40, 73, 80, 81, 2, 3, 76,
+ 4, 5, 6, 7, 8, 9, 10, 11, 108, 77,
+ 12, 13, 107, 85, 86, 121, 79, 110, 55, 58,
+ 59, 47, 118, 119, 14, 15, 112, 111, 132, -58,
+ 72, 48, -58, 5, 64, 7, 8, 65, 10, 11,
+ 41, 42, 12, 66, 41, 42, 43, 117, 14, 15,
+ 43, 44, 34, 35, 137, 44, 14, 15, 5, 64,
+ 7, 8, 65, 10, 11, 60, 120, 12, 66, 58,
+ 59, 41, 42, 61, 50, 143, 98, 105, 144, 131,
+ 51, 14, 15, 64, 7, 53, 65, 10, 11, 54,
+ 84, 12, 66, 106, 85, 86, 114, 87, 88, 89,
+ 90, 91, 92, 115, 93, 14, 15, 94, 84, 59,
+ 116, 128, 85, 86, 99, 100, 101, 124, 125, 126,
+ 127, 129, 130, 133, 134, 102, 135, 136, 138, 141,
+ 104, 78
};
-static const short yycheck[] =
+static const unsigned char yycheck[] =
{
- 42, 43, 120, 3, 4, 2, 6, 59, 60, 9,
- 51, 48, 130, 24, 51, 57, 58, 0, 1, 51,
- 3, 4, 5, 6, 7, 8, 9, 10, 69, 51,
- 13, 14, 69, 15, 16, 87, 29, 69, 35, 32,
- 33, 28, 84, 85, 27, 28, 28, 69, 100, 0,
+ 43, 44, 121, 4, 5, 3, 7, 60, 61, 10,
+ 52, 49, 131, 24, 52, 58, 59, 0, 1, 52,
+ 3, 4, 5, 6, 7, 8, 9, 10, 70, 52,
+ 13, 14, 70, 15, 16, 88, 29, 70, 36, 32,
+ 33, 28, 85, 86, 27, 28, 28, 70, 101, 0,
1, 28, 3, 4, 5, 6, 7, 8, 9, 10,
24, 25, 13, 14, 24, 25, 30, 31, 27, 28,
- 30, 35, 61, 62, 116, 35, 27, 28, 4, 5,
- 6, 7, 8, 9, 10, 26, 86, 13, 14, 24,
- 25, 24, 25, 34, 28, 137, 32, 33, 140, 99,
+ 30, 35, 24, 25, 117, 35, 27, 28, 4, 5,
+ 6, 7, 8, 9, 10, 26, 87, 13, 14, 32,
+ 33, 24, 25, 34, 28, 138, 62, 63, 141, 100,
28, 27, 28, 5, 6, 28, 8, 9, 10, 28,
11, 13, 14, 28, 15, 16, 28, 18, 19, 20,
21, 22, 23, 28, 25, 27, 28, 28, 11, 33,
- 28, 28, 15, 16, 17, 18, 19, 89, 90, 91,
- 92, 12, 28, 28, 28, 28, 28, 28, 13, 13,
- 0, 62, -1, 53
+ 28, 28, 15, 16, 17, 18, 19, 90, 91, 92,
+ 93, 12, 28, 28, 28, 28, 28, 28, 13, 13,
+ 63, 54
};
-/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
-#line 3 "/usr/share/bison/bison.simple"
-
-/* Skeleton output parser for bison,
-
- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 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 2, 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, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-/* As a special exception, when this file is copied by Bison into a
- Bison output file, you may use that output file without restriction.
- This special exception was added by the Free Software Foundation
- in version 1.24 of Bison. */
-
-/* This is the parser code that is written into each bison parser when
- the %semantic_parser declaration is not specified in the grammar.
- It was written by Richard Stallman by simplifying the hairy parser
- used when %semantic_parser is specified. */
-
-/* All symbols defined below should begin with yy or YY, to avoid
- infringing on user name space. This should be done even for local
- variables, as they might otherwise be expanded by user macros.
- There are some unavoidable exceptions within include files to
- define necessary library symbols; they are noted "INFRINGES ON
- USER NAME SPACE" below. */
-
-#if ! defined (yyoverflow) || defined (YYERROR_VERBOSE)
-
-/* The parser invokes alloca or malloc; define the necessary symbols. */
-
-# if YYSTACK_USE_ALLOCA
-# define YYSTACK_ALLOC alloca
-# else
-# ifndef YYSTACK_USE_ALLOCA
-# if defined (alloca) || defined (_ALLOCA_H)
-# define YYSTACK_ALLOC alloca
-# else
-# ifdef __GNUC__
-# define YYSTACK_ALLOC __builtin_alloca
-# endif
-# endif
-# endif
-# endif
-
-# ifdef YYSTACK_ALLOC
- /* Pacify GCC's `empty if-body' warning. */
-# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
-# else
-# if defined (__STDC__) || defined (__cplusplus)
-# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
-# define YYSIZE_T size_t
-# endif
-# define YYSTACK_ALLOC malloc
-# define YYSTACK_FREE free
-# endif
-#endif /* ! defined (yyoverflow) || defined (YYERROR_VERBOSE) */
-
-
-#if (! defined (yyoverflow) \
- && (! defined (__cplusplus) \
- || (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
-/* A type that is properly aligned for any stack member. */
-union yyalloc
+/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
+ symbol of state STATE-NUM. */
+static const unsigned char yystos[] =
{
- short yyss;
- YYSTYPE yyvs;
-# if YYLSP_NEEDED
- YYLTYPE yyls;
-# endif
+ 0, 37, 0, 1, 3, 4, 5, 6, 7, 8,
+ 9, 10, 13, 14, 27, 28, 38, 39, 40, 41,
+ 44, 45, 47, 51, 53, 55, 56, 58, 60, 61,
+ 62, 63, 71, 71, 24, 25, 69, 69, 69, 69,
+ 24, 24, 25, 30, 35, 73, 74, 28, 28, 50,
+ 28, 28, 59, 28, 28, 71, 73, 73, 32, 33,
+ 26, 34, 42, 48, 5, 8, 14, 39, 46, 70,
+ 54, 66, 1, 39, 47, 57, 58, 70, 66, 29,
+ 73, 73, 74, 74, 11, 15, 16, 18, 19, 20,
+ 21, 22, 23, 25, 28, 43, 64, 65, 67, 17,
+ 18, 19, 28, 49, 65, 67, 28, 39, 47, 52,
+ 58, 70, 28, 67, 28, 28, 28, 31, 73, 73,
+ 69, 74, 68, 69, 68, 68, 68, 68, 28, 12,
+ 28, 69, 74, 28, 28, 28, 28, 73, 13, 72,
+ 72, 13, 72, 73, 73
};
-/* The size of the maximum gap between one aligned stack and the next. */
-# define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1)
-
-/* The size of an array large to enough to hold all stacks, each with
- N elements. */
-# if YYLSP_NEEDED
-# define YYSTACK_BYTES(N) \
- ((N) * (sizeof (short) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \
- + 2 * YYSTACK_GAP_MAX)
-# else
-# define YYSTACK_BYTES(N) \
- ((N) * (sizeof (short) + sizeof (YYSTYPE)) \
- + YYSTACK_GAP_MAX)
-# endif
-<