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

📄 lex.h

📁 一个词法分析器的源程序
💻 H
字号:
#ifndef LEX_H
#define LEX_H

#include<stdio.h>
#include<conio.h>
#include<string.h>

#define MAX 512
//以下在lex.cpp中定义
extern FILE*fd,*fw;
extern char *guanjian[];
extern char strout1[2000];
extern int c1;
//以下在pre.cpp中定义
extern int buf_pos,frag1;
extern char ch,ch1;
extern char buffer[MAX];
extern char strout2[1000];
extern int c2;
extern int col;
void fre_buf(int frag);
char gch();
char get_ch();
void retract();
int IsSign(char currentch);
int IsLetter(char currentch);
int IsDigit(char currentch);
int IsGJZ(char str[]);

#endif

⌨️ 快捷键说明

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