token.h

来自「一个编译器修改的例子」· C头文件 代码 · 共 23 行

H
23
字号
#ifndef TOKEN_H#define TOKEN_Htypedef struct token{    char	*name;    char	*file_name;    unsigned	line_number;}Token;Token	*new_token(void);		/* Create a new 'Token' structure. This copies the current		 * value of yytext into (and thus allocates memory for)		 * token->name, and sets token->line_number to current_line.		 * (see lex.h)		 */void	delete_token(Token *);Token  *copytoken(Token *);#endif

⌨️ 快捷键说明

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