代码拉取完成,页面将自动刷新
同步操作将从 ylyhappy/编译原理虎书代码 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/* A Bison parser, made by GNU Bison 3.8.2. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 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 3 of the License, 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, see <https://www.gnu.org/licenses/>. */
/* As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
under terms of your choice, so long as that work isn't itself a
parser generator using the skeleton or a modified version thereof
as a parser skeleton. Alternatively, if you modify or redistribute
the parser skeleton itself, you may (at your option) remove this
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
especially those whose name start with YY_ or yy_. They are
private implementation details that can be changed or removed. */
#ifndef YY_YY_Y_TAB_H_INCLUDED
# define YY_YY_Y_TAB_H_INCLUDED
/* Debug traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern int yydebug;
#endif
/* Token kinds. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
enum yytokentype
{
YYEMPTY = -2,
YYEOF = 0, /* "end of file" */
YYerror = 256, /* error */
YYUNDEF = 257, /* "invalid token" */
ID = 258, /* ID */
INT = 259, /* INT */
COMMA = 260, /* COMMA */
COLON = 261, /* COLON */
SEMICOLON = 262, /* SEMICOLON */
LPAREN = 263, /* LPAREN */
RPAREN = 264, /* RPAREN */
LBRACK = 265, /* LBRACK */
RBRACK = 266, /* RBRACK */
LBRACE = 267, /* LBRACE */
RBRACE = 268, /* RBRACE */
DOT = 269, /* DOT */
PLUS = 270, /* PLUS */
MINUS = 271, /* MINUS */
TIMES = 272, /* TIMES */
DIVIDE = 273, /* DIVIDE */
EQ = 274, /* EQ */
NEQ = 275, /* NEQ */
LT = 276, /* LT */
LE = 277, /* LE */
GT = 278, /* GT */
GE = 279, /* GE */
AND = 280, /* AND */
OR = 281, /* OR */
ASSIGN = 282, /* ASSIGN */
ARRAY = 283, /* ARRAY */
IF = 284, /* IF */
THEN = 285, /* THEN */
ELSE = 286, /* ELSE */
WHILE = 287, /* WHILE */
FOR = 288, /* FOR */
TO = 289, /* TO */
DO = 290, /* DO */
LET = 291, /* LET */
IN = 292, /* IN */
END = 293, /* END */
OF = 294, /* OF */
BREAK = 295, /* BREAK */
NIL = 296, /* NIL */
FUNCTION = 297, /* FUNCTION */
VAR = 298, /* VAR */
TYPE = 299 /* TYPE */
};
typedef enum yytokentype yytoken_kind_t;
#endif
/* Token kinds. */
#define YYEMPTY -2
#define YYEOF 0
#define YYerror 256
#define YYUNDEF 257
#define ID 258
#define INT 259
#define COMMA 260
#define COLON 261
#define SEMICOLON 262
#define LPAREN 263
#define RPAREN 264
#define LBRACK 265
#define RBRACK 266
#define LBRACE 267
#define RBRACE 268
#define DOT 269
#define PLUS 270
#define MINUS 271
#define TIMES 272
#define DIVIDE 273
#define EQ 274
#define NEQ 275
#define LT 276
#define LE 277
#define GT 278
#define GE 279
#define AND 280
#define OR 281
#define ASSIGN 282
#define ARRAY 283
#define IF 284
#define THEN 285
#define ELSE 286
#define WHILE 287
#define FOR 288
#define TO 289
#define DO 290
#define LET 291
#define IN 292
#define END 293
#define OF 294
#define BREAK 295
#define NIL 296
#define FUNCTION 297
#define VAR 298
#define TYPE 299
/* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
union YYSTYPE
{
#line 28 "tiger.grm"
int pos;
int ival;
const char* sval;
A_yly_exp y_exp;
A_yly_expList y_exps;
A_yly_var y_var;
A_yly_varList y_vars;
#line 166 "y.tab.h"
};
typedef union YYSTYPE YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1
#endif
extern YYSTYPE yylval;
int yyparse (void);
#endif /* !YY_YY_Y_TAB_H_INCLUDED */
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。