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

📄 yacc.tab.h

📁 c语言的简化编译器
💻 H
字号:
/* A Bison parser, made by GNU Bison 1.875.  */

/* Skeleton parser for Yacc-like parsing with Bison,
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 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.  */

/* Tokens.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
   /* Put the tokens into the symbol table, so that GDB and other debuggers
      know about them.  */
   enum yytokentype {
     tINT = 258,
     tVOID = 259,
     tBOOL = 260,
     tSTRING = 261,
     tAND = 262,
     tOR = 263,
     tEQUALS = 264,
     tGEQUALS = 265,
     tLEQUALS = 266,
     tNEQUALS = 267,
     tIF = 268,
     tELSE = 269,
     tWHILE = 270,
     tFOR = 271,
     tRETURN = 272,
     tBREAK = 273,
     tCONTINUE = 274,
     tERROR = 275,
     tIDENTIFIER = 276,
     tINTCONST = 277,
     tBOOLCONST = 278,
     tSTRINGCONST = 279
   };
#endif
#define tINT 258
#define tVOID 259
#define tBOOL 260
#define tSTRING 261
#define tAND 262
#define tOR 263
#define tEQUALS 264
#define tGEQUALS 265
#define tLEQUALS 266
#define tNEQUALS 267
#define tIF 268
#define tELSE 269
#define tWHILE 270
#define tFOR 271
#define tRETURN 272
#define tBREAK 273
#define tCONTINUE 274
#define tERROR 275
#define tIDENTIFIER 276
#define tINTCONST 277
#define tBOOLCONST 278
#define tSTRINGCONST 279




#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#line 21 "yacc.y"
typedef union YYSTYPE {
  struct SCRIPTCOLLECTION *scriptcollection;    
  struct TOPLEVEL *toplevel;
  struct FUNCTION *function;  
  struct TYPE *type;
  struct EXP *exp;
  struct DECL *decl;
  struct FORINIT *forinit;
  struct STM *stm;
  struct LVALUE *lvalue;
  
  char *identifier;
  int intconst;
  int boolconst; 
  char *stringconst;
} YYSTYPE;
/* Line 1248 of yacc.c.  */
#line 101 "yacc.tab.h"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif

extern YYSTYPE yylval;



⌨️ 快捷键说明

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