📄 grammar.tab.h
字号:
/* A Bison parser, made by GNU Bison 2.3. *//* Skeleton interface for Bison's Yacc-like parsers in C Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *//* 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. *//* Tokens. */#ifndef YYTOKENTYPE# define YYTOKENTYPE /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum yytokentype { ASSIGNMENT = 258, ARRAY = 259, _BEGIN = 260, BOOL = 261, BY = 262, CHAR = 263, DELETE = 264, DO = 265, ELSE = 266, END = 267, FALSE = 268, FOR = 269, FUNCTION = 270, IF = 271, INT = 272, IS = 273, NEW = 274, __NULL = 275, OF = 276, PROCEDURE = 277, REAL = 278, REPEAT = 279, RETURN = 280, STRING = 281, THEN = 282, TO = 283, TRUE = 284, UNTIL = 285, VAR = 286, WHILE = 287, RECORD = 288, CHAR_CONSTANT = 289, IDENTIFIER = 290, INTEGER_CONSTANT = 291, REAL_CONSTANT = 292, STRING_CONSTANT = 293, OR = 294, AND = 295, NOT_EQUAL = 296, GREATER_EQUAL = 297, SMALLER_EQUAL = 298, UNARY_PLUS = 299, UNARY_MINUS = 300, SIZE = 301, NOT = 302 };#endif/* Tokens. */#define ASSIGNMENT 258#define ARRAY 259#define _BEGIN 260#define BOOL 261#define BY 262#define CHAR 263#define DELETE 264#define DO 265#define ELSE 266#define END 267#define FALSE 268#define FOR 269#define FUNCTION 270#define IF 271#define INT 272#define IS 273#define NEW 274#define __NULL 275#define OF 276#define PROCEDURE 277#define REAL 278#define REPEAT 279#define RETURN 280#define STRING 281#define THEN 282#define TO 283#define TRUE 284#define UNTIL 285#define VAR 286#define WHILE 287#define RECORD 288#define CHAR_CONSTANT 289#define IDENTIFIER 290#define INTEGER_CONSTANT 291#define REAL_CONSTANT 292#define STRING_CONSTANT 293#define OR 294#define AND 295#define NOT_EQUAL 296#define GREATER_EQUAL 297#define SMALLER_EQUAL 298#define UNARY_PLUS 299#define UNARY_MINUS 300#define SIZE 301#define NOT 302#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLAREDtypedef union YYSTYPE#line 21 "grammar.y"{ struct declaration *decl; struct expression *expr; struct list *list; struct scope *scope; struct statement *stat; struct type *type; struct token *token;}/* Line 1489 of yacc.c. */#line 153 "grammar.tab.h" YYSTYPE;# define yystype YYSTYPE /* obsolescent; will be withdrawn */# define YYSTYPE_IS_DECLARED 1# define YYSTYPE_IS_TRIVIAL 1#endifextern YYSTYPE yylval;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -