📄 lexsymb.h
字号:
// Union to pass information between lexer and caller
typedef union {
char *str;
} YYSTYPE;
extern YYSTYPE yylval;
// Lexer constants
enum {
UNUSED = 257, // start above 256 (we can also return actual chars)
ERROR_TOKEN, // returned if illegal character found
IF,
ELSE,
PRINT,
INPUT,
ASSIGN, // assign
EQUAL, // test if equal
CONCAT, // string-concatenate
END_STMT, // end of statement
OPEN_PAR, // opening parenthesis
CLOSE_PAR, // closing parenthesis
BEGIN_CS, // begin compound statement
END_CS, // end compound statement
ID, // identifier
STRING // string constant
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -