📄 symbol.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 + -