📄 error.h
字号:
#ifndef ERROR_H#define ERROR_H#include "bool.h"#include "token.h"/* Use the error function to print error messages in the proper * 'inputfilename, lineno: errmsg' format. Formatting is the same as printf. * 'error' sets the error_seen variable to true, preventing main() from * starting the code generation phase. When NULL is passed as the token * pointer, the value of current_line (defined in lex.h) and input_file_name * (defined in io.h) are used instead of the line_number and file_name in the * token. */extern void error(const Token *, const char *format, ...);extern Bool error_seen;/* Use the warning function to print out warning messages. It is similar to * the error function, except that it does not set the error_seen variable. */extern void warning(const Token *, const char *format, ...);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -