tokens.h

来自「针对“虎书”中的tiger语言写的词法分析器 实现了多重注释嵌套、字符串中特殊」· C头文件 代码 · 共 52 行

H
52
字号
typedef union  {	int pos;	int ival;	string sval;	} YYSTYPE;extern YYSTYPE yylval;# define ID 257# define STRING 258# define INT 259# define COMMA 260# define COLON 261# define SEMICOLON 262# define LPAREN 263# define RPAREN 264# define LBRACK 265# define RBRACK 266# define LBRACE 267# define RBRACE 268# define DOT 269# define PLUS 270# define MINUS 271# define TIMES 272# define DIVIDE 273# define EQ 274# define NEQ 275# define LT 276# define LE 277# define GT 278# define GE 279# define AND 280# define OR 281# define ASSIGN 282# define ARRAY 283# define IF 284# define THEN 285# define ELSE 286# define WHILE 287# define FOR 288# define TO 289# define DO 290# define LET 291# define IN 292# define END 293# define OF 294# define BREAK 295# define NIL 296# define FUNCTION 297# define VAR 298# define TYPE 299

⌨️ 快捷键说明

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