www.pudn.com > Micro.rar > Lex.h
#pragma once
#include "common.h"
extern char token_buffer[];
class Lex
{
public:
Lex(void);
~Lex(void);
};
typedef struct word {
char buf[WORD_LEN];
int len;
} Word;
token check_reserved(void);
void buffer_char(int c);
void clear_buffer(void);
void lexical_error(int c);
token scanner(void );