scan.h

来自「Tinyc是很出名的C编译器开发实例」· C头文件 代码 · 共 23 行

H
23
字号
/****************************************************//* File: scan.h                                     *//* The scanner interface for the TINY compiler      *//* Compiler Construction: Principles and Practice   *//* Kenneth C. Louden                                *//****************************************************/#ifndef _SCAN_H_#define _SCAN_H_/* MAXTOKENLEN is the maximum size of a token */#define MAXTOKENLEN 40/* tokenString array stores the lexeme of each token */extern char tokenString[MAXTOKENLEN+1];/* function getToken returns the  * next token in source file */TokenType getToken(void);#endif

⌨️ 快捷键说明

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