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

📄 c-.tab.c

📁 一个编译器的例子,基于c语言,在linux下开发 现在了简单的c语言例子
💻 C
📖 第 1 页 / 共 5 页
字号:
     197,    39,   104,   105,   142,   188,   142,   254,   143,   221,       8,   209,   210,   211,   104,   122,     1,   252,   131,   116,     116,   116,  -115,   182,   171,   172,     8,   272,   116,   230,      20,   205,   199,     9,   257,   183,   203,   220,   208,   221,     233,   234,   235,   254,   304,   221,    23,   189,   286,    44,     255,    96,   201,   262,   110,    46,    47,    48,    49,    50,      51,    52,   251,    53,    54,     8,   104,   193,   263,   167,     168,   194,     9,   173,   174,   123,   112,   112,   112,   112,     112,   112,   112,   112,   112,   112,   112,   112,   112,   112,     112,   112,   112,   112,   188,   220,   130,   221,   169,   170,     116,   282,   222,    67,   175,   176,   238,   239,   297,    68,      69,    70,    71,    72,   136,   267,   280,   132,   302,   236,     237,   164,   256,   203,   202,   165,   166,   219,   133,    35,     258,   183,     1,   112,   259,   113,   137,   112,   151,   152,     153,   154,   155,   156,   157,   158,   159,   160,   244,   245,     135,   294,   296,     2,     3,     4,     5,     6,     7,   138,     189,   141,     2,     3,     4,     5,     6,     7,     2,     3,       4,     5,     6,     7,   177,   268,   291,   292,   293,   183,     178,     8,   145,   146,   147,   179,   161,    21,     9,    22,     180,    42,   269,    28,   189,   288,   183,   270,   112,   189,     303,   183,    42,   307,   192,    45,    46,    47,    48,    49,      50,    51,    52,   309,    53,    54,   311,     2,     3,     4,       5,     6,     7,   148,   207,   149,   212,   150,     2,     3,       4,     5,     6,     7,   195,     2,     3,     4,     5,     6,       7,    55,    56,    57,   214,    58,    59,    60,    61,    62,      63,    64,    65,    66,    67,   226,   225,   231,   198,   260,      68,    69,    70,    71,    72,   266,   283,   299,   306,   261,     284,   259,   183,   271,    73,    28,    74,    45,    46,    47,      48,    49,    50,    51,    52,   300,    53,    54,     2,     3,       4,     5,     6,     7,   308,   273,   298,   301,   183,   240,     241,   242,   243,   305,   246,   310,   249,     2,     3,     4,       5,     6,     7,    55,    56,    57,   247,    58,    59,    60,      61,    62,    63,    64,    65,    66,    67,   248,    28,   120,     250,   196,    68,    69,    70,    71,    72,   190,   287,   186,      36,   206,     0,     0,     0,     0,    73,    28,   185,    45,      46,    47,    48,    49,    50,    51,    52,     0,    53,    54,       0,     0,     2,     3,     4,     5,     6,     7,     0,     0,       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,       1,   220,   276,   221,     0,    55,    56,    57,   222,    58,      59,    60,    61,    62,    63,    64,    65,    66,    67,     0,       0,     0,     0,     0,    68,    69,    70,    71,    72,     0,       2,     3,     4,     5,     6,     7,     0,     0,    73,    28,     187,    45,    46,    47,    48,    49,    50,    51,    52,     8,      53,    54,     0,     0,     0,     0,     9,     0,     0,     0,       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,       0,     0,     0,     0,     0,     0,     0,    55,    56,    57,       0,    58,    59,    60,    61,    62,    63,    64,    65,    66,      67,     0,     0,     0,     0,     0,    68,    69,    70,    71,      72,     0,     0,     0,     0,     0,     0,     0,     0,     0,      73,    28,   253,    45,    46,    47,    48,    49,    50,    51,      52,     0,    53,    54,     0,     0,     0,     0,     0,   110,      46,    47,    48,    49,    50,    51,    52,     0,    53,    54,       0,     0,     0,     0,     0,     0,     0,     0,     0,    55,      56,    57,     0,    58,    59,    60,    61,    62,    63,    64,      65,    66,    67,     0,     0,     0,     0,     0,    68,    69,      70,    71,    72,     0,     0,     0,     0,     0,    67,     0,       0,     0,    73,    28,    68,    69,    70,    71,    72,     0,     110,    46,    47,    48,    49,    50,    51,    52,   139,    53,      54,     0,     0,   216,     0,   110,    46,    47,    48,    49,      50,    51,    52,     0,    53,    54,     0,     0,     0,     0,       0,     0,     0,     0,   110,    46,    47,    48,    49,    50,      51,    52,     0,    53,    54,     0,     0,     0,     0,    67,       0,     0,     0,     0,     0,    68,    69,    70,    71,    72,       0,     0,     0,     0,    67,     0,     0,     0,     0,    73,      68,    69,    70,    71,    72,   110,    46,    47,    48,    49,      50,    51,    52,    67,    53,    54,   111,     0,     0,    68,      69,    70,    71,    72,   110,    46,    47,    48,    49,    50,      51,    52,     0,    53,    54,     2,     3,     4,     5,     6,       7,   110,    46,    47,    48,    49,    50,    51,    52,     0,      53,    54,     0,     0,    67,     0,     0,     0,     0,     0,      68,    69,    70,    71,    72,     0,     0,     0,     0,     0,       0,     0,     0,    67,   227,     0,     0,     0,     0,    68,      69,    70,    71,    72,     0,     0,     0,     0,     0,     0,      67,     0,     0,   279,     0,     0,    68,    69,    70,    71,      72,   110,    46,    47,    48,    49,    50,    51,    52,     0,      53,    54,   110,    46,    47,    48,    49,    50,    51,    52,       0,    53,    54,   110,    46,    47,    48,    49,    50,    51,      52,     0,    53,    54,   110,    46,    47,    48,    49,    50,      51,    52,     0,    53,    54,     0,     0,     0,     0,     0,      67,   295,     0,     0,     0,     0,    68,    69,    70,    71,      72,   124,     0,     0,     1,     0,     0,    68,    69,    70,      71,    72,   126,     0,     0,     0,     0,     0,    68,    69,      70,    71,    72,    67,     0,     0,     0,     0,     0,    68,      69,    70,    71,    72,     2,     3,     4,     5,     6,     7,       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,       0,     0,     0,   254,   276,   221,     0,     0,     0,     0,     255};static const short yycheck[] ={       0,     8,    38,     9,    11,    65,    34,    67,    34,   135,      55,    67,    12,   117,    78,   121,    16,   202,     3,    20,       3,     3,   222,    30,    52,    53,    54,    55,    60,    55,       0,    67,     3,    40,    57,   141,    22,     3,    57,    55,      73,    57,   148,    57,    57,    14,    16,    52,   143,    54,      78,    74,    53,    72,     3,   255,   162,    26,    72,    72,     116,    53,    32,    32,   124,    97,   126,    52,   124,    54,      52,   131,   132,   133,    44,    44,     3,   183,    52,   115,     116,   117,    53,    69,    16,    17,    52,   213,   124,   149,      73,   123,   196,    59,   189,    57,   202,    52,   130,    54,     164,   165,   166,    52,   289,    54,    72,   107,    70,    26,      59,    28,   119,    57,     3,     4,     5,     6,     7,     8,       9,    10,   182,    12,    13,    52,    96,    53,    72,    60,      61,    57,    59,    65,    66,    70,   164,   165,   166,   167,     168,   169,   170,   171,   172,   173,   174,   175,   176,   177,     178,   179,   180,   181,   186,    52,    70,    54,    14,    15,     196,   225,    59,    52,    18,    19,   169,   170,   274,    58,      59,    60,    61,    62,     3,   207,   221,    52,   284,   167,     168,    59,   189,   289,    73,    63,    64,    53,    52,     0,      53,    57,     3,   221,    57,   221,    72,   225,    23,    24,      25,    26,    27,    28,    29,    30,    31,    32,   175,   176,      52,   271,   272,    33,    34,    35,    36,    37,    38,    72,     220,    52,    33,    34,    35,    36,    37,    38,    33,    34,      35,    36,    37,    38,    58,    53,   268,   269,   270,    57,      67,    52,    11,    12,    13,    68,    71,   254,    59,   255,      21,    71,    53,    73,   254,   262,    57,    53,   286,   259,     286,    57,    71,   295,    53,     3,     4,     5,     6,     7,       8,     9,    10,   305,    12,    13,   308,    33,    34,    35,      36,    37,    38,    52,    70,    54,    44,    56,    33,    34,      35,    36,    37,    38,    55,    33,    34,    35,    36,    37,      38,    39,    40,    41,    72,    43,    44,    45,    46,    47,      48,    49,    50,    51,    52,     3,    53,     3,    74,     3,      58,    59,    60,    61,    62,    53,    53,    53,    53,    74,      57,    57,    57,    52,    72,    73,    74,     3,     4,     5,       6,     7,     8,     9,    10,    53,    12,    13,    33,    34,      35,    36,    37,    38,    53,    72,    72,    55,    57,   171,     172,   173,   174,    42,   177,    72,   180,    33,    34,    35,      36,    37,    38,    39,    40,    41,   178,    43,    44,    45,      46,    47,    48,    49,    50,    51,    52,   179,    73,    40,     181,   115,    58,    59,    60,    61,    62,   107,   259,    96,      16,   124,    -1,    -1,    -1,    -1,    72,    73,    74,     3,       4,     5,     6,     7,     8,     9,    10,    -1,    12,    13,      -1,    -1,    33,    34,    35,    36,    37,    38,    -1,    -1,      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,       3,    52,    53,    54,    -1,    39,    40,    41,    59,    43,      44,    45,    46,    47,    48,    49,    50,    51,    52,    -1,      -1,    -1,    -1,    -1,    58,    59,    60,    61,    62,    -1,      33,    34,    35,    36,    37,    38,    -1,    -1,    72,    73,      74,     3,     4,     5,     6,     7,     8,     9,    10,    52,      12,    13,    -1,    -1,    -1,    -1,    59,    -1,    -1,    -1,      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,      -1,    -1,    -1,    -1,    -1,    -1,    -1,    39,    40,    41,      -1,    43,    44,    45,    46,    47,    48,    49,    50,    51,      52,    -1,    -1,    -1,    -1,    -1,    58,    59,    60,    61,      62,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,      72,    73,    74,     3,     4,     5,     6,     7,     8,     9,      10,    -1,    12,    13,    -1,    -1,    -1,    -1,    -1,     3,       4,     5,     6,     7,     8,     9,    10,    -1,    12,    13,      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    39,      40,    41,    -1,    43,    44,    45,    46,    47,    48,    49,      50,    51,    52,    -1,    -1,    -1,    -1,    -1,    58,    59,      60,    61,    62,    -1,    -1,    -1,    -1,    -1,    52,    -1,      -1,    -1,    72,    73,    58,    59,    60,    61,    62,    -1,       3,     4,     5,     6,     7,     8,     9,    10,    72,    12,      13,    -1,    -1,     1,    -1,     3,     4,     5,     6,     7,       8,     9,    10,    -1,    12,    13,    -1,    -1,    -1,    -1,      -1,    -1,    -1,    -1,     3,     4,     5,     6,     7,     8,       9,    10,    -1,    12,    13,    -1,    -1,    -1,    -1,    52,      -1,    -1,    -1,    -1,    -1,    58,    59,    60,    61,    62,      -1,    -1,    -1,    -1,    52,    -1,    -1,    -1,    -1,    72,      58,    59,    60,    61,    62,     3,     4,     5,     6,     7,       8,     9,    10,    52,    12,    13,    55,    -1,    -1,    58,      59,    60,    61,    62,     3,     4,     5,     6,     7,     8,       9,    10,    -1,    12,    13,    33,    34,    35,    36,    37,      38,     3,     4,     5,     6,     7,     8,     9,    10,    -1,      12,    13,    -1,    -1,    52,    -1,    -1,    -1,    -1,    -1,      58,    59,    60,    61,    62,    -1,    -1,    -1,    -1,    -1,      -1,    -1,    -1,    52,    53,    -1,    -1,    -1,    -1,    58,      59,    60,    61,    62,    -1,    -1,    -1,    -1,    -1,    -1,      52,    -1,    -1,    55,    -1,    -1,    58,    59,    60,    61,      62,     3,     4,     5,     6,     7,     8,     9,    10,    -1,      12,    13,     3,     4,     5,     6,     7,     8,     9,    10,      -1,    12,    13,     3,     4,     5,     6,     7,     8,     9,      10,    -1,    12,    13,     3,     4,     5,     6,     7,     8,       9,    10,    -1,    12,    13,    -1,    -1,    -1,    -1,    -1,      52,    53,    -1,    -1,    -1,    -1,    58,    59,    60,    61,      62,    52,    -1,    -1,     3,    -1,    -1,    58,    59,    60,      61,    62,    52,    -1,    -1,    -1,    -1,    -1,    58,    59,      60,    61,    62,    52,    -1,    -1,    -1,    -1,    -1,    58,      59,    60,    61,    62,    33,    34,    35,    36,    37,    38,      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,      -1,    -1,    -1,    52,    53,    54,    -1,    -1,    -1,    -1,      59};/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing   symbol of state STATE-NUM.  */static const unsigned char yystos[] ={       0,     3,    33,    34,    35,    36,    37,    38,    52,    59,      97,    98,   102,   103,   110,   111,   133,   134,   135,     3,      73,   110,   111,    72,    99,   100,   110,    98,    73,    97,      98,   124,   125,    52,    54,     0,   134,    73,   105,    53,      57,    72,    71,   124,   125,     3,     4,     5,     6,     7,       8,     9,    10,    12,    13,    39,    40,    41,    43,    44,      45,    46,    47,    48,    49,    50,    51,    52,    58,    59,      60,    61,    62,    72,    74,    76,    77,    79,    80,    81,      82,    83,    84,    85,    86,    87,    88,    89,    90,    91,      92,    93,    95,   122,   123,   124,   125,   126,   127,   128,     130,   131,   132,   110,    97,   124,     3,   112,   113,   116,       3,    55,    79,    92,    96,   104,   102,   106,   107,   108,     100,   101,   124,    70,    52,    79,    52,    79,    79,    96,      70,    52,    52,    52,   122,    52,     3,    72,    72,    72,      95,    52,    95,   108,   117,    11,    12,    13,    52,    54,      56,    23,    24,    25,    26,    27,    28,    29,    30,    31,      32,    71,    94,    81,    59,    63,    64,    60,    61,    14,      15,    16,    17,    65,    66,    18,    19,    58,    67,    68,      21,    22,    69,    57,    72,    74,   126,    74,   122,    98,     114,   115,    53,    53,    57,    55,   106,   108,    74,   107,     109,   110,    73,    93,   120,   122,   117,    70,   122,    95,      95,    95,    44,   127,    72,    72,     1,    93,   129,    53,      52,    54,    59,   118,   119,    53,     3,    53,    78,    93,      95,     3,    93,    81,    81,    81,    82,    82,    83,    83,      84,    84,    84,    84,    85,    85,    86,    87,    88,    89,      90,    95,    93,    74,    52,    59,   110,   118,    53,    57,       3,    74,    57,    72,   120,   121,    53,   122,    53,    53,      53,    52,   127,    72,    20,    53,    53,   114,   118,    55,      96,   119,    81,    53,    57,    55,    70,   115,   110,    57,      74,   122,   122,   122,    95,    53,    95,    93,    72,    53,      53,    55,    93,    92,   120,    42,    53,   122,    53,   122,      72,   122};#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 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);						\      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);	\      YYFPRINTF (stderr, "\n");					\    }								\} while (0)/*------------------------------------------------------------------.| yy_stack_print -- Print the state stack from its BOTTOM up to its || TOP (cinluded).                                                   |`------------------------------------------------------------------*/#if defined (__STDC__) || defined (__cplusplus)static voidyy_stack_print (short *bottom, short *top)#elsestatic voidyy_stack_print (bottom, top)    short *bottom;    short *top;#endif{  YYFPRINTF (stderr, "Stack now");  for (/* Nothing. */; bottom <= top; ++bottom)    YYFPRINTF (stderr, " %d", *bottom);  YYFPRINTF (stderr, "\n");}# define YY_STACK_PRINT(Bottom, Top)				\

⌨️ 快捷键说明

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