⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pp_scan.h

📁 一个c语言的编译器的源代码
💻 H
字号:
#ifndef _PPSCAN_H_
#define _PPSCAN_H_

#include <iostream>
#include <list>

using namespace std;

// A list of this structures is used for
// fix the location of of the error(file & lineno)
// See comments in the file 'pp_scan.l' for details
typedef struct {
	int lineno;
	string filename;
	int file_lineno;
} INCLUDE_NODE;

// The list
extern list<INCLUDE_NODE> include_list;

// A global iterator can improve the efficiency
extern list<INCLUDE_NODE>::iterator include_it;

void preprocess(char* src, ostream& os);

#endif

⌨️ 快捷键说明

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