⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 parser.cpp

📁 khtml在gtk上的移植版本
💻 CPP
📖 第 1 页 / 共 5 页
字号:
    57,    56,     8,     0,     0,   120,   126,   136,   134,     0,    21,    10,   162,   163,     0,    14,    97,     0,     8,    83,    65,     0,    61,     8,     8,    64,     8,     8,    65,     0,    68,     0,    78,    70,    77,     8,     0,   117,   118,     6,     0,   101,     8,     0,   113,     8,   128,   129,   157,   153,   152,   154,   139,   140,   141,   142,   143,   144,   145,   146,   147,   148,   149,   150,   151,   130,   138,   137,   132,     0,   133,   135,     8,   127,   122,     7,     8,     8,     0,     0,     0,     0,     0,    10,    18,     0,    98,    65,     8,    66,     0,     0,     5,     0,    65,    53,    54,    63,    74,    75,     8,     0,    69,   107,   103,     8,     0,     8,   105,     0,     8,     0,   156,     0,   131,   124,   123,   121,    31,    30,    37,    38,     8,     0,    35,     0,     0,     8,     0,     0,    10,    24,    25,    26,    23,    28,    27,    20,   161,   164,     8,    84,     0,    90,    91,    92,    93,    94,    85,    89,     8,     0,     0,    71,     0,    73,     8,   110,     0,   109,   106,     0,     0,     8,    41,    34,    33,     0,     0,   160,     0,    41,     0,     0,    22,     0,     8,     0,     0,    58,    72,   108,     8,     0,   112,   155,     8,     0,     0,    42,    36,     8,    50,    49,     0,    52,    51,   159,   158,    99,    87,     8,    96,    95,     8,   111,   114,    48,    29,    44,     8,     0,     8,     0,     0,     0,    32,    46,     8,    86,    43,    65,     0,    45,     8,    88,    47,     0,     0,     0};static const short yydefgoto[] = {   308,     5,     6,     7,   222,    17,     8,    28,    91,   163,   211,    92,   164,   249,   203,   268,   269,   212,   302,   270,   213,   214,   109,    84,    37,    38,    39,    40,    41,    42,    43,    44,    45,   172,    46,   231,   285,    47,    51,    52,    53,    54,    55,    85,   159,    86,    87,    88,    89,   216,   217,    94,    95};static const short yypact[] = {   372,    22,   -39,   -22,   -15,-32768,-32768,-32768,-32768,     3,    21,-32768,-32768,-32768,    37,    37,    37,   185,    43,-32768,-32768,-32768,-32768,   288,   173,   532,-32768,-32768,   104,   143,   110,    58,-32768,   108,   112,-32768,    70,-32768,    46,   227,    77,-32768,   274,   200,-32768,-32768,-32768,-32768,    89,-32768,-32768,   101,    99,   121,    16,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,   606,   388,-32768,-32768,-32768,-32768,   223,   149,-32768,-32768,-32768,   161,-32768,-32768,   171,-32768,-32768,    35,    47,-32768,-32768,-32768,-32768,-32768,-32768,   346,   395,    37,   200,-32768,    37,-32768,-32768,   199,    37,    37,-32768,   127,   155,-32768,    38,-32768,-32768,    37,    37,    37,    37,    37,    37,    37,    37,    37,    37,    37,    37,    37,    37,    37,    37,    37,    37,    37,    37,    37,    37,    37,   487,    37,    37,-32768,-32768,-32768,-32768,-32768,-32768,   570,   156,   102,   262,   117,-32768,   185,   147,-32768,   288,    58,-32768,   153,   136,-32768,   173,   288,    37,    37,-32768,-32768,-32768,   274,   200,    37,    37,   177,-32768,   209,-32768,    37,   170,-32768,   336,-32768,   435,    37,    37,    37,-32768,-32768,-32768,-32768,-32768,-32768,   181,    17,   170,   218,-32768,   244,   248,-32768,-32768,-32768,-32768,-32768,-32768,-32768,   185,-32768,-32768,-32768,    37,   239,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,   205,   539,    37,   200,    37,-32768,    37,   187,    37,    37,   570,   284,-32768,     4,-32768,-32768,   254,   141,-32768,   210,   135,   219,   226,   185,    24,-32768,   159,    98,-32768,    37,    37,-32768,   284,-32768,    37,-32768,   211,    42,-32768,-32768,-32768,-32768,-32768,    51,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,    37,-32768,    37,-32768,-32768,-32768,   113,-32768,    98,    27,   135,-32768,    37,-32768,-32768,-32768,   338,    34,-32768,-32768,-32768,    37,   264,   270,-32768};static const short yypgoto[] = {-32768,-32768,-32768,-32768,    -1,   -84,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,    28,-32768,    41,-32768,-32768,     1,-32768,-32768,-32768,-32768,  -162,-32768,   130,   207,   -87,   196,   -23,   -27,-32768,   118,-32768,    82,    48,-32768,   180,-32768,   303,-32768,  -229,  -147,-32768,   197,   307,-32768,-32768,-32768,-32768,    -7,   -35};#define	YYLAST		650static const short yytable[] = {    10,   215,    20,   194,    14,    15,    16,    21,   165,    11,    23,    24,    25,   117,   265,   267,   115,   125,   124,   112,    21,    30,   178,     9,    21,    -8,    12,    21,   248,   126,    21,    22,    -8,    13,   101,   287,   102,    21,    21,   190,    21,   111,   114,   290,    29,   243,   169,   103,   118,   119,    21,    18,   290,    19,   -39,   127,   128,   129,   130,   131,   132,   133,   134,   135,   136,   137,   138,   139,   140,   141,   142,   143,   144,   145,   146,   147,   148,   149,   150,   151,   218,   221,   152,   280,   300,   115,   187,   182,   191,   161,   170,   306,   -40,   291,   104,   264,   173,   105,   168,   293,   121,    21,   291,   174,   175,    21,   176,   177,   283,   284,    49,   183,   201,    21,   -67,   184,    21,    -1,   206,    97,    90,    98,   189,   100,    50,   192,   -66,   255,    31,    32,    33,    34,    35,   110,   207,   208,   209,    18,    21,   116,   305,   224,   225,   226,   227,   228,   267,   202,  -102,  -119,   120,   201,   195,   200,    99,   115,   196,   197,   235,   220,    96,   205,   166,   297,   224,   225,   226,   227,   228,    18,   162,   123,    36,   -65,    48,    18,    21,   186,   220,   210,   234,   236,   167,   220,    49,   238,   202,   240,    26,    27,   241,    18,    93,   229,   230,    18,   219,   247,    50,   250,   185,   113,   245,    -8,    18,   188,   199,   252,   115,   223,   239,    -8,    32,    33,    34,    35,   281,   230,    18,   251,   256,  -119,  -119,  -119,   160,    18,    -8,   237,   106,    18,   259,   246,   220,    -8,   261,    18,   262,   263,   -55,   -55,   -55,   -55,   -55,   266,   274,   253,   277,   279,    -8,   254,   257,    -8,    -8,    -8,   260,    -8,    -8,   271,    18,    -8,   273,   289,   286,   204,   309,    -8,   288,    18,    -8,   276,   310,   292,    -8,    -8,    18,   -59,   278,   272,   -59,   107,   108,   294,   -55,   -55,   295,   155,    32,    33,    34,    35,   296,    21,   298,   275,  -125,  -125,  -125,   301,   303,    31,    32,    33,    34,    35,   307,   233,   181,    -8,   171,    50,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -119,  -119,  -119,   157,  -125,   242,  -125,    21,   282,   258,   299,    36,   158,  -125,    56,    57,    58,    31,    32,    33,    34,    35,   232,   122,   198,    31,    32,    33,    34,    35,    59,    60,    61,    62,    63,    64,    65,    66,    67,    68,    69,    70,    71,    72,    73,    74,    75,    76,    77,    78,    79,    80,  -116,  -116,  -116,   304,    81,   155,    82,   154,     1,    36,     2,     3,     4,    83,  -125,  -125,  -125,    36,     0,     0,     0,     0,   179,    32,    33,    34,    35,     0,     0,     0,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,   155,   156,     0,   157,  -125,     0,  -125,     0,     0,  -125,  -125,  -125,   158,  -125,   180,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,  -125,     0,     0,     0,   157,  -125,   193,  -125,    21,     0,     0,     0,   244,   158,  -125,    56,    57,    58,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,    59,    60,    61,    62,    63,    64,    65,    66,    67,    68,    69,    70,    71,    72,    73,    74,    75,    76,    77,    78,    79,    80,    21,     0,     0,     0,    81,   106,    82,    56,    57,    58,     0,     0,     0,    83,     0,   -55,   -55,   -55,   -55,   -55,     0,     0,     0,    59,    60,    61,    62,    63,    64,    65,    66,    67,    68,    69,    70,    71,    72,    73,    74,    75,    76,    77,    78,    79,    80,    56,    57,    58,     0,    81,     0,    82,   -60,     0,     0,   -60,   107,   108,    83,   -55,   -55,    59,    60,    61,    62,    63,    64,    65,    66,    67,    68,    69,    70,    71,    72,    73,    74,    75,    76,    77,    78,    79,    80,     0,     0,     0,     0,    81,     0,    82,     0,     0,     0,     0,     0,     0,    83,    59,    60,    61,    62,    63,    64,    65,    66,    67,    68,    69,    70,    71,    72,    73,    74,   153,    76,    77};static const short yycheck[] = {     1,   163,     9,   150,     5,     6,     7,     3,    92,    48,    11,    12,    13,    48,   243,    11,    43,     1,    53,    42,     3,    22,   109,     1,     3,     3,    48,     3,    11,    13,     3,    10,    10,    48,    35,   264,    37,     3,     3,     1,     3,    42,    43,     1,     1,   192,    11,     1,    49,    50,     3,    48,     1,    50,    50,    56,    57,    58,    59,    60,    61,    62,    63,    64,    65,    66,    67,    68,    69,    70,    71,    72,    73,    74,    75,    76,    77,    78,    79,    80,   164,   168,    83,    59,    57,   112,   121,   110,    50,    90,    55,    57,    50,    51,    48,   242,    49,    51,    99,    48,     1,     3,    51,   104,   105,     3,   107,   108,    10,    11,    11,   112,    10,     3,    56,   116,     3,     0,     1,    11,    16,    13,   123,    11,    25,   126,    56,   211,    11,    12,    13,    14,    15,    56,    17,    18,    19,    48,     3,    50,   302,     5,     6,     7,     8,     9,    11,    45,    49,    50,    49,    10,   153,   160,    46,   182,   157,   158,   181,   166,    50,   162,     1,    50,     5,     6,     7,     8,     9,    48,    21,    50,    55,    56,     1,    48,     3,    50,   185,    62,   181,   182,    11,   190,    11,   186,    45,   188,     3,     4,   191,    48,    49,    57,    58,    48,    49,   204,    25,   206,     1,     1,   203,     3,    48,    50,    50,   208,   235,    56,     1,    11,    12,    13,    14,    15,    57,    58,    48,     1,   221,    48,    49,    50,     1,    48,     3,    50,     1,    48,   231,    50,   239,    10,   235,    48,   237,    50,    11,    12,    13,    14,    15,   244,   251,     1,   253,   254,    48,     1,    11,    51,    52,    53,    49,    55,    56,     3,    48,    59,    50,    50,   263,     1,     0,     3,   267,    48,    45,    50,     0,   272,    10,    11,    48,    48,    50,   249,    51,    52,    53,   282,    55,    56,   285,     1,    12,    13,    14,    15,   291,     3,   293,   252,    10,    11,    12,   296,   299,    11,    12,    13,    14,    15,   305,   175,   110,    45,   101,    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,     1,    54,     3,   258,   223,   294,    55,    60,    61,    10,    11,    12,    11,    12,    13,    14,    15,   174,    52,   159,    11,    12,    13,    14,    15,    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,    49,    52,     1,    54,    84,    20,    55,    22,    23,    24,    61,    10,    11,    12,    55,    -1,    -1,    -1,    -1,    11,    12,    13,    14,    15,    -1,    -1,    -1,    26,    27,    28,    29,    30,    31,    32,    33,    34,    35,    36,    37,    38,    39,    40,    41,    42,    43,    44,    45,    46,    47,     1,    49,    -1,    51,    52,    -1,    54,    -1,    -1,    10,    11,    12,    60,    61,    55,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    26,    27,    28,    29,    30,    31,    32,    33,    34,    35,    36,    37,    38,    39,    40,    41,    42,    43,    44,    45,    46,    47,    -1,    -1,    -1,    51,    52,     1,    54,     3,    -1,    -1,    -1,    59,    60,    61,    10,    11,    12,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    26,    27,    28,    29,    30,    31,    32,    33,    34,    35,    36,    37,    38,    39,    40,    41,    42,    43,    44,    45,    46,    47,     3,    -1,    -1,    -1,    52,     1,    54,    10,    11,    12,    -1,    -1,    -1,    61,    -1,    11,    12,    13,    14,    15,    -1,    -1,    -1,    26,    27,    28,    29,    30,    31,    32,    33,    34,    35,    36,    37,    38,    39,    40,    41,    42,    43,    44,    45,    46,    47,    10,    11,    12,    -1,    52,    -1,    54,    48,    -1,    -1,    51,    52,    53,    61,    55,    56,    26,    27,    28,    29,    30,    31,    32,    33,    34,    35,    36,    37,    38,    39,    40,    41,    42,    43,    44,    45,    46,    47,    -1,    -1,    -1,    -1,    52,    -1,    54,    -1,    -1,    -1,    -1,    -1,    -1,    61,    26,    27,    28,    29,    30,    31,    32,    33,    34,    35,    36,    37,    38,    39,    40,    41,    42,    43,    44};#define YYPURE 1/* -*-C-*-  Note some compilers choke on comments on `#line' lines.  */#line 3 "/usr/share/bison.simple"/* This file comes from bison-1.28.  *//* Skeleton output parser for bison,   Copyright (C) 1984, 1989, 1990 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.  */#ifndef YYSTACK_USE_ALLOCA#ifdef alloca#define YYSTACK_USE_ALLOCA#else /* alloca not defined */#ifdef __GNUC__#define YYSTACK_USE_ALLOCA#define alloca __builtin_alloca#else /* not GNU C.  */#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) || (defined (__sun) && defined (__i386))#define YYSTACK_USE_ALLOCA#include <alloca.h>#else /* not sparc *//* We think this test detects Watcom and Microsoft C.  *//* This used to test MSDOS, but that is a bad idea   since that symbol is in the user namespace.  */#if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)#if 0 /* No need for malloc.h, which pollutes the namespace;	 instead, just don't use alloca.  */#include <malloc.h>#endif#else /* not MSDOS, or __TURBOC__ */#if defined(_AIX)/* I don't know what this was needed for, but it pollutes the namespace.   So I turned it off.   rms, 2 May 1997.  *//* #include <malloc.h>  */ #pragma alloca#define YYSTACK_USE_ALLOCA#else /* not MSDOS, or __TURBOC__, or _AIX */#if 0#ifdef __hpux /* haible@ilog.fr says this works for HPUX 9.05 and up,		 and on HPUX 10.  Eventually we can turn this on.  */#define YYSTACK_USE_ALLOCA#define alloca __builtin_alloca#endif /* __hpux */#endif#endif /* not _AIX */#endif /* not MSDOS, or __TURBOC__ */#endif /* not sparc */#endif /* not GNU C */#endif /* alloca not defined */#endif /* YYSTACK_USE_ALLOCA not defined */#ifdef YYSTACK_USE_ALLOCA#define YYSTACK_ALLOC alloca#else#define YYSTACK_ALLOC malloc#endif/* Note: there must be only one dollar sign in this file.   It is replaced by the list of actions, each action   as one case of the switch.  */#define yyerrok		(yyerrstatus = 0)#define yyclearin	(yychar = YYEMPTY)#define YYEMPTY		-2#define YYEOF		0#define YYACCEPT	goto yyacceptlab#define YYABORT 	goto yyabortlab#define YYERROR		goto yyerrlab1/* Like YYERROR except do call yyerror.   This remains here temporarily to ease the   transition to the new meaning of YYERROR, for GCC.   Once GCC version 2 has supplanted version 1, this can go.  */#define YYFAIL		goto yyerrlab#define YYRECOVERING()  (!!yyerrstatus)#define YYBACKUP(token, value) \do								\  if (yychar == YYEMPTY && yylen == 1)				\    { yychar = (token), yylval = (value);			\      yychar1 = YYTRANSLATE (yychar);				\      YYPOPSTACK;						\      goto yybackup;						\    }								\  else								\    { yyerror ("syntax error: cannot back up"); YYERROR; }	\while (0)#define YYTERROR	1#define YYERRCODE	256#ifndef YYPURE#define YYLEX		yylex()#endif#ifdef YYPURE#ifdef YYLSP_NEEDED#ifdef YYLEX_PARAM#define YYLEX		yylex(&yylval, &yylloc, YYLEX_PARAM)#else#define YYLEX		yylex(&yylval, &yylloc)#endif#else /* not YYLSP_NEEDED */#ifdef YYLEX_PARAM#define YYLEX		yylex(&yylval, YYLEX_PARAM)#else#define YYLEX		yylex(&yylval)#endif#endif /* not YYLSP_NEEDED */#endif/* If nonreentrant, generate the variables here */#ifndef YYPUREint	yychar;			/*  the lookahead symbol		*/YYSTYPE	yylval;			/*  the semantic value of the		*/				/*  lookahead symbol			*/#ifdef YYLSP_NEEDEDYYLTYPE yylloc;			/*  location data for the lookahead	*/				/*  symbol				*/#endifint yynerrs;			/*  number of parse errors so far       */#endif  /* not YYPURE */#if YYDEBUG != 0int yydebug;			/*  nonzero means print parse trace	*//* Since this is uninitialized, it does not stop multiple parsers   from coexisting.  */#endif/*  YYINITDEPTH indicates the initial size of the parser's stacks	*/#ifndef	YYINITDEPTH#define YYINITDEPTH 200#endif/*  YYMAXDEPTH is the maximum size the stacks can grow to    (effective only if the built-in stack extension method is used).  */#if YYMAXDEPTH == 0#undef YYMAXDEPTH#endif#ifndef YYMAXDEPTH#define YYMAXDEPTH 10000#endif/* Define __yy_memcpy.  Note that the size argument   should be passed with type unsigned int, because that is what the non-GCC   definitions require.  With GCC, __builtin_memcpy takes an arg   of type size_t, but it can handle unsigned int.  */#if __GNUC__ > 1		/* GNU C and GNU C++ define this.  */#define __yy_memcpy(TO,FROM,COUNT)	__builtin_memcpy(TO,FROM,COUNT)#else				/* not GNU C or C++ */#ifndef __cplusplus

⌨️ 快捷键说明

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