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

📄 symbol.h

📁 语法分析程序,使用是递归子程序法.自己写的程序,学习
💻 H
字号:
/*
 * Author: zhangdi
 * Date: 2008-11-10
 * Description: symbol head file, declare the function
 * related to symbol table
 */

#ifndef SYMBOL_H_INCLUDED
#define SYMBOL_H_INCLUDED

/* look up a symbol in the symbol table, if not has return 0 */
int lookup(char s[]);
/* insert a symbol into symbol table */
int insert(char s[], int tok);
/* output symbol table to a txt file */
int symtabledisplay();
/* distinguish a identifier is a key word */
int searchkeyword(char key[]);

#endif // SYMBOL_H_INCLUDED

⌨️ 快捷键说明

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