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

📄 parse.h

📁 一个C语言的编译器
💻 H
字号:
/****************************************************************************
*                     U N R E G I S T E R E D   C O P Y
* 
* You are on day 49 of your 30 day trial period.
* 
* This file was produced by an UNREGISTERED COPY of Parser Generator. It is
* for evaluation purposes only. If you continue to use Parser Generator 30
* days after installation then you are required to purchase a license. For
* more information see the online help or go to the Bumble-Bee Software
* homepage at:
* 
* http://www.bumblebeesoftware.com
* 
* This notice must remain present in the file. It cannot be removed.
****************************************************************************/

/****************************************************************************
* parse.h
* C header file generated from parse.y.
* 
* Date: 12/23/08
* Time: 20:50:56
* 
* AYACC Version: 2.06
****************************************************************************/

#ifndef _PARSE_H
#define _PARSE_H

#include <yypars.h>

#define ENDFILE 257
#define ERROR 258
#define INT 259
#define CHAR 260
#define DOUBLE 261
#define VOID 262
#define IF 263
#define ELSE 264
#define WHILE 265
#define ASSIGN 266
#define RETURN 267
#define FOR 268
#define INPUT 269
#define OUTPUT 270
#define ID 271
#define NUM 272
#define FNUM 273
#define SCHAR 274
#define SEMI 275
#define COMMA 276
#define LP 277
#define RP 278
#define LSP 279
#define RSP 280
#define LFP 281
#define RFP 282
#define PLUS 283
#define SUB 284
#define MUT 285
#define DIV 286
#define MOD 287
#define INC 288
#define DEC 289
#define B_AND 290
#define B_OR 291
#define B_NOT 292
#define B_XOR 293
#define B_LEFT 294
#define B_RIGHT 295
#define EQ 296
#define GT 297
#define LT 298
#define GE 299
#define LE 300
#define NEQ 301
#define AND 302
#define OR 303
#define NOT 304
#ifndef YYSTYPE
union tagYYSTYPE {
#line 33 ".\\parse.y"
 TreeNode * ptree;                            //定义树结点
         Type type;                                   //定义类型
       
#line 87 "parse.h"
};

#define YYSTYPE union tagYYSTYPE
#endif

extern YYSTYPE YYNEAR yylval;

#line 57 ".\\parse.y"

    void yyerror(const char * message);               
	TreeNode * parse(void);

#line 100 "parse.h"
#endif

⌨️ 快捷键说明

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