grammar.cpp

来自「konqueror3 embedded版本, KDE环境下的当家浏览器的嵌入式版」· C++ 代码 · 共 1,449 行 · 第 1/5 页

CPP
1,449
字号
typedef struct YYLTYPE{  int first_line;  int first_column;  int last_line;  int last_column;} YYLTYPE;# define yyltype YYLTYPE /* obsolescent; will be withdrawn */# define YYLTYPE_IS_DECLARED 1# define YYLTYPE_IS_TRIVIAL 1#endif/* Copy the second part of user declarations.  *//* Line 214 of yacc.c.  */#line 308 "grammar.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;    YYLTYPE yyls;};/* The size of the maximum gap between one aligned stack and the next.  */# define YYSTACK_GAP_MAXIMUM (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) + sizeof (YYLTYPE))	\      + 2 * YYSTACK_GAP_MAXIMUM)/* 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_MAXIMUM; \	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  191/* YYLAST -- Last index in YYTABLE.  */#define YYLAST   1380/* YYNTOKENS -- Number of terminals. */#define YYNTOKENS  86/* YYNNTS -- Number of nonterminals. */#define YYNNTS  69/* YYNRULES -- Number of rules. */#define YYNRULES  206/* YYNRULES -- Number of states. */#define YYNSTATES  372/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX.  */#define YYUNDEFTOK  2#define YYMAXUTOK   316#define YYTRANSLATE(YYX) 						\  ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : 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,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,    75,     2,     2,     2,    77,    80,     2,      63,    64,    76,    72,    69,    73,    71,    62,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,    70,    85,      78,    84,    79,    83,     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,    67,     2,    68,    81,     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,    65,    82,    66,    74,     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,     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,     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,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       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,    36,    37,    38,    39,    40,    41,    42,    43,    44,      45,    46,    47,    48,    49,    50,    51,    52,    53,    54,      55,    56,    57,    58,    59,    60,    61};#if YYDEBUG/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in   YYRHS.  */static const unsigned short yyprhs[] ={       0,     0,     3,     5,     7,     9,    11,    13,    15,    17,      19,    21,    23,    25,    29,    32,    36,    40,    44,    50,      53,    58,    59,    61,    63,    66,    70,    76,    78,    80,      82,    84,    86,    91,    95,    99,   101,   104,   107,   110,     115,   119,   122,   126,   128,   132,   134,   136,   138,   141,     144,   146,   149,   152,   155,   158,   161,   164,   167,   170,     173,   176,   179,   181,   185,   189,   193,   195,   199,   203,     205,   209,   213,   217,   219,   223,   227,   231,   235,   239,     243,   245,   249,   253,   257,   261,   263,   267,   269,   273,     275,   279,   281,   285,   287,   291,   293,   299,   301,   305,     307,   309,   311,   313,   315,   317,   319,   321,   323,   325,     327,   329,   331,   335,   337,   339,   341,   343,   345,   347,     349,   351,   353,   355,   357,   359,   361,   363,   365,   368,     372,   374,   377,   381,   385,   387,   391,   393,   396,   400,     404,   406,   410,   412,   415,   418,   420,   423,   426,   432,     440,   447,   453,   463,   474,   482,   491,   501,   502,   504,     507,   510,   514,   518,   521,   524,   528,   532,   535,   538,     542,   546,   552,   558,   562,   568,   569,   571,   573,   576,     580,   585,   588,   592,   596,   600,   604,   608,   612,   617,     623,   626,   628,   631,   637,   644,   649,   655,   657,   661,     664,   668,   669,   671,   673,   676,   678};/* YYRHS -- A `-1'-separated list of the rules' RHS. */static const short yyrhs[] ={     152,     0,    -1,     3,    -1,     4,    -1,     5,    -1,     7,      -1,     6,    -1,    62,    -1,    51,    -1,    21,    -1,    59,      -1,    87,    -1,    89,    -1,    63,   116,    64,    -1,    65,      66,    -1,    65,    93,    66,    -1,    67,    91,    68,    -1,      67,    90,    68,    -1,    67,    90,    69,    91,    68,    -1,      91,   114,    -1,    90,    69,    91,   114,    -1,    -1,    92,      -1,    69,    -1,    92,    69,    -1,    94,    70,   114,    -1,      93,    69,    94,    70,   114,    -1,    59,    -1,     6,    -1,       7,    -1,    88,    -1,   149,    -1,    95,    67,   116,    68,      -1,    95,    71,    59,    -1,    12,    95,    98,    -1,    95,      -1,    12,    96,    -1,    95,    98,    -1,    97,    98,    -1,      97,    67,   116,    68,    -1,    97,    71,    59,    -1,    63,      64,    -1,    63,    99,    64,    -1,   114,    -1,    99,    69,     114,    -1,    96,    -1,    97,    -1,   100,    -1,   100,    43,      -1,   100,    44,    -1,   101,    -1,    19,   102,    -1,    18,     102,    -1,    27,   102,    -1,    43,   102,    -1,    60,   102,      -1,    44,   102,    -1,    61,   102,    -1,    72,   102,    -1,      73,   102,    -1,    74,   102,    -1,    75,   102,    -1,   102,      -1,   103,    76,   102,    -1,   103,    62,   102,    -1,   103,      77,   102,    -1,   103,    -1,   104,    72,   103,    -1,   104,      73,   103,    -1,   104,    -1,   105,    45,   104,    -1,   105,      46,   104,    -1,   105,    47,   104,    -1,   105,    -1,   106,      78,   105,    -1,   106,    79,   105,    -1,   106,    39,   105,      -1,   106,    40,   105,    -1,   106,    26,   105,    -1,   106,      25,   105,    -1,   106,    -1,   107,    35,   106,    -1,   107,      36,   106,    -1,   107,    37,   106,    -1,   107,    38,   106,      -1,   107,    -1,   108,    80,   107,    -1,   108,    -1,   109,      81,   108,    -1,   109,    -1,   110,    82,   109,    -1,   110,      -1,   111,    42,   110,    -1,   111,    -1,   112,    41,   111,      -1,   112,    -1,   112,    83,   114,    70,   114,    -1,   113,      -1,   100,   115,   114,    -1,    84,    -1,    48,    -1,    49,      -1,    50,    -1,    51,    -1,    52,    -1,    53,    -1,    54,      -1,    55,    -1,    57,    -1,    58,    -1,    56,    -1,   114,      -1,   116,    69,   114,    -1,   118,    -1,   120,    -1,   123,      -1,   127,    -1,   128,    -1,   129,    -1,   130,    -1,   132,      -1,   133,    -1,   134,    -1,   135,    -1,   136,    -1,   142,      -1,   143,    -1,   144,    -1,    65,    66,    -1,    65,   153,      66,    -1,   117,    -1,   119,   117,    -1,    13,   121,    85,      -1,    13,   121,     1,    -1,   122,    -1,   121,    69,   122,      -1,    59,    -1,    59,   126,    -1,    14,   124,    85,    -1,      14,   124,     1,    -1,   125,    -1,   124,    69,   122,    -1,      59,    -1,    59,   126,    -1,    84,   114,    -1,    85,    -1,     116,    85,    -1,   116,     1,    -1,    20,    63,   116,    64,     117,    -1,    20,    63,   116,    64,   117,    24,   117,    -1,      22,   117,    23,    63,   116,    64,    -1,    23,    63,   116,      64,   117,    -1,    11,    63,   131,    85,   131,    85,   131,      64,   117,    -1,    11,    63,    13,   121,    85,   131,    85,     131,    64,   117,    -1,    11,    63,   100,    25,   116,    64,     117,    -1,    11,    63,    13,    59,    25,   116,    64,   117,      -1,    11,    63,    13,    59,   126,    25,   116,    64,   117,      -1,    -1,   116,    -1,    15,    85,    -1,    15,     1,    -1,      15,    59,    85,    -1,    15,    59,     1,    -1,     8,    85,      -1,     8,     1,    -1,     8,    59,    85,    -1,     8,    59,       1,    -1,    17,    85,    -1,    17,     1,    -1,    17,   116,      85,    -1,    17,   116,     1,    -1,    29,    63,   116,    64,     117,    -1,    28,    63,   116,    64,   137,    -1,    65,   138,      66,    -1,    65,   138,   141,   138,    66,    -1,    -1,   139,      -1,   140,    -1,   139,   140,    -1,     9,   116,    70,    -1,       9,   116,    70,   119,    -1,    10,    70,    -1,    10,    70,     119,    -1,    59,    70,   117,    -1,    31,   116,    85,    -1,      31,   116,     1,    -1,    32,   118,   145,    -1,    32,   118,     146,    -1,    32,   118,   145,   146,    -1,    33,    63,    59,      64,   118,    -1,    34,   118,    -1,   148,    -1,    18,   148,      -1,    16,    59,    63,    64,   151,    -1,    16,    59,    63,     150,    64,   151,    -1,    16,    63,    64,   151,    -1,    16,      63,   150,    64,   151,    -1,    59,    -1,   150,    69,    59,      -1,    65,    66,    -1,    65,   153,    66,    -1,    -1,   153,      -1,   154,    -1,   153,   154,    -1,   117,    -1,   147,    -1};/* YYRLINE[YYN] -- source line where rule number YYN was defined.  */static const unsigned short yyrline[] ={       0,   165,   165,   166,   167,   168,   169,   170,   173,   180,     181,   182,   183,   184,   185,   186,   190,   191,   192,   196,     197,   202,   203,   207,   208,   212,   213,   218,   219,   220,     224,   225,   226,   227,   228,   232,   233,   237,   238,   239,     240,   244,   245,   249,   250,   254,   255,   259,   260,   261,     265,   266,   267,   268,   269,   270,   271,   272,   273,   274,     275,   276,   280,   281,   282,   283,   287,   288,   289,   293,     294,   295,   296,   300,   301,   303,   305,   307,   309,   311,     316,   317,   318,   319,   320,   324,   325,   329,   330,   334,     335,   339,   340,   345,   346,   351,   352,   357,   358,   363,     364,   365,   366,   367,   368,   369,   370,   371,   372,   373,     374,   378,   379,   383,   384,   385,   386,   387,   388,   389,     390,   391,   392,   393,   394,   395,   396,   397,   401,   402,     406,   407,   411,   413,   423,   424,   429,   430,   434,   436,

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?