parse.h

来自「C语言前端编译器,yacc/lex编写,可自行修改代码.」· C头文件 代码 · 共 27 行

H
27
字号
// Copyright 2002 by Keith Vallerio.
// All rights reserved.

/************************************************************
  parse.h

  Header file used to interface scan.l, gram.y and parse.cc
************************************************************/


#ifndef PARSE_H_
#define PARSE_H_
#include <string>

// global variables used by scan.l, gram.y and parse.cc
extern int yytypedef_flag;
extern int column;

// interface functions
void yytypedef_table_add(string str);
char yytypedef_table_lookup(string str);
void yypopulate_tree (string str, long n);
void yyadd_whitespace (string str);

#endif

⌨️ 快捷键说明

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