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

📄 y.tab.c

📁 编译原理课程设计之pp2语法分析程序
💻 C
📖 第 1 页 / 共 5 页
字号:
      69,    36,   118,    71,    48,     0,    49,    50,    51,    52,
       0,    53,    54,    55,    56,    57,    58,    59,    60,     0,
      61,    62,     0,     0,     7,    63,    64,    65,    66,     0,
       0,     0,     0,     0,     0,    67,     0,     0,     0,     0,
      68,     0,     0,     0,     0,    69,    36,   157,    71,    48,
       0,    49,    50,    51,    52,     0,    53,    54,    55,    56,
      57,    58,    59,    60,     0,    61,    62,     0,     0,     7,
      63,    64,    65,    66,    48,     0,    49,     0,     0,     0,
      67,     0,     0,    55,    56,    68,    58,    59,     0,     0,
      69,    36,     0,    71,     7,    63,    64,    65,    66,     0,
       0,     0,     0,     0,     0,    67,     0,     0,     0,     0,
      68,     0,     0,     0,     0,    99,     0,     0,    71
};

static const short int yycheck[] =
{
       0,     1,    24,    76,    33,    27,     6,     0,    33,     9,
      13,    36,    13,    17,    14,    36,     9,    39,    36,     4,
       5,     6,     7,    57,    24,    25,     0,    27,    60,    41,
      30,    58,    13,    33,    60,    36,    36,    60,    53,    39,
      33,    58,    34,    35,   117,    58,    61,    34,    35,    61,
      75,    36,    67,    68,    58,    36,    71,    75,    61,    60,
       4,     5,     6,     7,    41,    94,    41,    59,    28,    94,
      53,    54,    59,    57,    34,    75,    61,   150,    60,    57,
      40,    96,    97,    98,    61,    42,    61,    47,    60,   104,
     105,    60,    36,    60,    94,   110,    60,    60,    60,   114,
      61,    94,   175,   103,   177,   120,   121,   122,   123,   124,
     125,   126,   127,   128,   129,   130,   131,   132,   133,    60,
     135,    60,   137,     4,     5,     6,     7,    49,    50,    51,
     203,    53,    54,    61,   134,     3,     4,     5,     6,     7,
       3,     4,     5,     6,     7,   218,    61,    59,    41,    60,
     223,    61,   225,    57,    16,    36,    18,    31,    58,    60,
      38,   176,    22,    25,    26,   180,    28,    29,    36,    61,
     185,   186,    43,    36,    36,    37,    38,    39,    40,   179,
      61,    61,    59,   205,    43,    47,   179,   202,    61,    59,
      52,    59,     4,     5,     6,     7,    59,    58,    60,     9,
      41,    59,    27,   210,    16,   205,    18,    19,    20,    21,
     229,    23,    24,    25,    26,    27,    28,    29,    30,   195,
      32,    33,   210,   202,    36,    37,    38,    39,    40,   105,
      47,    48,    49,    50,    51,    47,    53,    54,   186,   207,
      52,     4,     5,     6,     7,    57,    58,    59,    60,    -1,
      -1,    -1,    -1,    16,    -1,    18,    19,    20,    21,    -1,
      23,    24,    25,    26,    27,    28,    29,    30,    -1,    32,
      33,    -1,    -1,    36,    37,    38,    39,    40,    -1,    -1,
       9,    10,    11,    12,    47,    14,    15,    -1,    -1,    52,
      -1,    -1,    -1,    -1,    57,    58,    59,    60,    -1,     9,
      10,    11,    12,    -1,    14,    15,    -1,    -1,    -1,     3,
       4,     5,     6,     7,     8,    44,    45,    46,    47,    48,
      49,    50,    51,    -1,    53,    54,     9,    10,    11,    12,
      -1,    14,    15,    62,    44,    45,    46,    47,    48,    49,
      50,    51,    36,    53,    54,    -1,    -1,     9,    10,    11,
      12,    61,    14,    15,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    44,    45,    46,    47,    48,    49,    50,    51,    -1,
      53,    54,    -1,    -1,     9,    10,    11,    12,    61,    14,
      15,    -1,    44,    45,    46,    47,    48,    49,    50,    51,
      -1,    53,    54,    -1,    -1,     9,    10,    11,    12,    61,
      14,    15,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    44,
      45,    46,    47,    48,    49,    50,    51,    -1,    53,    54,
      -1,    -1,     9,    10,    11,    12,    61,    14,    15,    -1,
      44,    45,    46,    47,    48,    49,    50,    51,    -1,    53,
      54,    -1,    -1,    57,     9,    10,    11,    12,    -1,    14,
      15,    -1,    -1,    -1,    -1,    -1,    -1,    44,    45,    46,
      47,    48,    49,    50,    51,    -1,    53,    54,    -1,    -1,
      57,     9,    10,    11,    12,    -1,    14,    15,    -1,    44,
      45,    46,    47,    48,    49,    50,    51,    -1,    53,    54,
      -1,    -1,    57,     9,    10,    11,    12,    -1,    14,    15,
      -1,    -1,    -1,    -1,    -1,    -1,    44,    45,    46,    47,
      48,    49,    50,    51,    -1,    53,    54,    -1,    -1,    57,
      -1,     9,    10,    11,    12,    41,    14,    15,    44,    45,
      46,    47,    48,    49,    50,    51,    -1,    53,    54,     9,
      10,    11,    12,    -1,    14,    15,    -1,    -1,    -1,     9,
      10,    11,    12,    -1,    14,    43,    44,    45,    46,    47,
      48,    49,    50,    51,    -1,    53,    54,     9,    10,    11,
      12,    -1,    14,    15,    44,    45,    46,    47,    48,    49,
      50,    51,    -1,    53,    54,    45,    46,    47,    48,    49,
      50,    51,    -1,    53,    54,     9,    10,    11,    12,    -1,
      -1,    -1,    -1,    45,    46,    47,    48,    49,    50,    51,
      -1,    53,    54,     9,    10,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    45,    46,    47,    48,    49,    50,    51,    -1,    53,
      54,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    45,
      46,    47,    48,    49,    50,    51,    -1,    53,    54,    16,
      -1,    18,    19,    20,    21,    -1,    23,    24,    25,    26,
      27,    28,    29,    30,    -1,    32,    33,    -1,    -1,    36,
      37,    38,    39,    40,    -1,    -1,    -1,    -1,    -1,    -1,
      47,    -1,    -1,    -1,    -1,    52,    -1,    -1,    -1,    -1,
      57,    58,    59,    60,    16,    -1,    18,    19,    20,    21,
      -1,    23,    24,    25,    26,    27,    28,    29,    30,    -1,
      32,    33,    -1,    -1,    36,    37,    38,    39,    40,    -1,
      -1,    -1,    -1,    -1,    -1,    47,    -1,    -1,    -1,    -1,
      52,    -1,    -1,    -1,    -1,    57,    58,    59,    60,    16,
      -1,    18,    19,    20,    21,    -1,    23,    24,    25,    26,
      27,    28,    29,    30,    -1,    32,    33,    -1,    -1,    36,
      37,    38,    39,    40,    16,    -1,    18,    -1,    -1,    -1,
      47,    -1,    -1,    25,    26,    52,    28,    29,    -1,    -1,
      57,    58,    -1,    60,    36,    37,    38,    39,    40,    -1,
      -1,    -1,    -1,    -1,    -1,    47,    -1,    -1,    -1,    -1,
      52,    -1,    -1,    -1,    -1,    57,    -1,    -1,    60
};

/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
   symbol of state STATE-NUM.  */
static const unsigned char yystos[] =
{
       0,     3,     4,     5,     6,     7,     8,    36,    64,    65,
      66,    67,    68,    69,    70,    71,    74,    69,    69,     0,
      66,    57,    13,    69,    60,    17,    58,    60,    61,    68,
      70,    75,    69,    72,    61,    75,    58,    76,    69,    41,
      61,    58,    59,    67,    73,    74,    76,    61,    16,    18,
      19,    20,    21,    23,    24,    25,    26,    27,    28,    29,
      30,    32,    33,    37,    38,    39,    40,    47,    52,    57,
      59,    60,    67,    69,    76,    77,    78,    79,    80,    81,
      86,    87,    88,    89,    90,    95,    96,    98,    99,   102,
     103,   104,    68,    76,    72,    76,    60,    60,    60,    57,
      69,    98,    57,    60,    60,    60,    60,    60,    58,    98,
      60,    98,    98,    98,    60,    59,    67,    78,    59,    79,
       9,    10,    11,    12,    14,    15,    44,    45,    46,    47,
      48,    49,    50,    51,    53,    54,    57,    42,    59,    98,
      97,    98,    98,    57,    69,    98,    98,   100,    61,    61,
      78,    82,    57,    98,    61,   100,   101,    59,    98,    98,
      98,    98,    98,    98,    98,    98,    98,    98,    98,    98,
      98,    98,    69,    98,    98,    61,    57,    61,    61,    41,
      41,    61,    59,    61,    61,    43,    60,    62,    79,    98,
      79,    70,    98,    57,    31,    83,    84,    85,    58,    91,
      98,   101,    57,    22,    61,    60,    85,    34,    35,    59,
      92,    93,    94,    61,    97,    79,    68,   103,    43,    59,
      93,    94,    59,    61,    61,    43,    79,    59,    79,    58,
      79,    82,    59
};

#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
# define YYSIZE_T __SIZE_TYPE__
#endif
#if ! defined (YYSIZE_T) && defined (size_t)
# define YYSIZE_T size_t
#endif
#if ! defined (YYSIZE_T)
# if defined (__STDC__) || defined (__cplusplus)
#  include <stddef.h> /* INFRINGES ON USER NAME SPACE */
#  define YYSIZE_T size_t
# endif
#endif
#if ! defined (YYSIZE_T)
# define YYSIZE_T unsigned int
#endif

#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 yyerrorlab


/* 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);						\
      yytoken = YYTRANSLATE (yychar);				\
      YYPOPSTACK;						\
      goto yybackup;						\
    }								\
  else								\
    { 								\
      yyerror ("syntax error: cannot back up");\
      YYERROR;							\
    }								\
while (0)

#define YYTERROR	1
#define YYERRCODE	256

/* YYLLOC_DEFAULT -- Compute the default location (before the actions
   are run).  */

#ifndef YYLLOC_DEFAULT
# define YYLLOC_DEFAULT(Current, Rhs, N)		\
   ((Current).first_line   = (Rhs)[1].first_line,	\
    (Current).first_column = (Rhs)[1].first_column,	\
    (Current).last_line    = (Rhs)[N].last_line,	\
    (Current).last_column  = (Rhs)[N].last_column)
#endif

/* YYLEX -- calling `yylex' with the right arguments.  */

#ifdef YYLEX_PARAM
# define YYLEX yylex (YYLEX_PARAM)
#else
# define YYLEX yylex ()
#endif

/* Enable debugging if requested.  */
#if YYDEBUG

# ifndef YYFPRINTF
#  include <stdio.h> /* INFRINGES ON USER NAME SPACE */
#  define YYFPRINTF fprintf
# endif

# define YYDPRINTF(Args)			\
do {						\
  if (yydebug)					\
    YYFPRINTF Args;				\
} while (0)

# define YYDSYMPRINT(Args)			\
do {						\
  if (yydebug)					\
    yysymprint Args;				\
} while (0)

# define YYDSYMPRINTF(Title, Token, Value, Location)		\
do {								\
  if (yydebug)							\
    {								\
      YYFPRINTF (stderr, "%s ", Title);				\
      yysymprint (stderr, 					\
                  Token, Value, Location);	\
      YYFPRINTF (stderr, "\n");					\
    }								\
} while (0)

/*------------------------------------------------------------------.
| yy_stack_print -- Print the state stack from its BOTTOM up to its |
| TOP (included).                                                   |
`------------------------------------------------------------------*/

#if defined (__STDC__) || defined (__cplusplus)
static void
yy_stack_print (short int *bottom, short int *top)
#else
static void
yy_stack_print (bottom, top)
    short int *bottom;
    short int *top;
#endif
{
  YYFPRINTF (stderr, "Stack now");
  for (/* Nothing. */; bottom <= top; ++bottom)
    YYFPRINTF (stderr, " %d", *bottom);
  YYFPRINTF (stderr, "\n");
}

# define YY_STACK_PRINT(Bottom, Top)				\
do {								\
  if (yydebug)							\
    yy_stack_print ((Bottom), (Top));				\
} while (0)


/*------------------------------------------------.
| Report that the YYRULE is going to be reduced.  |
`------------------------------------------------*/

#if defined (__STDC__) || defined (__cplusplus)
static void
yy_reduce_print (int yyrule)
#else
static void
yy_reduce_print (yyrule)
    int yyrule;
#endif
{
  int yyi;
  unsigned int yylno = yyrline[yyrule];
  YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ",
             yyrule - 1, yylno);
  /* Print the symbols being reduced, and their result.  */
  for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)
    YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]);
  YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]);
}

# define YY_REDUCE_PRINT(Rule)		\
do {					\
  if (yydebug)				\
    yy_reduce_print (Rule);		\
} while (0)

/* Nonzero means print parse trace.  It is left uninitialized so that
   multiple parsers can coexist.  */
int yydebug;
#else /* !YYDEBUG */
# define YYDPRINTF(Args)
# define YYDSYMPRINT(Args)
# define YYDSYMPRINTF(Title, Token, Value, Location)
# define YY_STACK_PRINT(Bottom, Top)
# define YY_REDUCE_PRINT(Rule)
#endif /* !YYDEBUG */


/* YYINITDEPTH -- initial size of the parser's stacks.  */
#ifndef	YYINITDEPTH
# define YYINITDEPTH 200
#endif

/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
   if the built-in stack extension method is used).

   Do not make this value too large; the results are undefined if
   SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH)
   evaluated with infinite-precision integer arithmetic.  */

#if defined (YYMAXDEPTH) && YYMAXDEPTH == 0
# undef YYMAXDEPTH
#endif

#ifndef YYMAXDEPTH
# define YYMAXDEPTH 10000
#endif



#if YYERROR_VERBOSE

# ifndef yystrlen
#  if defined (__GLIBC__) && defined (_STRING_H)
#   define yystrlen strlen
#  else
/* Return the length of YYSTR.  */
static YYSIZE_T
#   if defined (__STDC__) || defined (__cplusplus)
yystrlen (const char *yystr)
#   else
yystrlen (yystr)
     const char *yystr;
#   endif
{
  register const char *yys = yystr;

  while (*yys++ != '\0')
    continue;

  return yys - yystr - 1;
}
#  endif
# endif

# ifndef yystpcpy
#  if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE)
#   define yystpcpy stpcpy
#  else
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
   YYDEST.  */
static char *
#   if defined (__STDC__) || defined (__cplusplus)
yystpcpy (char *yydest, const char *yysrc)

⌨️ 快捷键说明

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