framelex.h

来自「不需要做任何修改的lex-yacc的demo」· C头文件 代码 · 共 57 行

H
57
字号
/****************************************************************************
* framelex.h
* C++ header file generated from framelex.l.
* 
* Date: 05/20/07
* Time: 22:59:12
* 
* ALex Version: 2.07
****************************************************************************/

#ifndef _FRAMELEX_H
#define _FRAMELEX_H

#include <yyclex.h>

/////////////////////////////////////////////////////////////////////////////
// testlexer

#ifndef YYEXPLEXER
#define YYEXPLEXER
#endif

class YYEXPLEXER YYFAR testlexer : public _YL yyflexer {
public:
	testlexer();
	virtual ~testlexer();

	// backards compatibility with lex
#ifdef input
	virtual int yyinput();
#endif
#ifdef output
	virtual void yyoutput(int ch);
#endif
#ifdef unput
	virtual void yyunput(int ch);
#endif

protected:
	void yytables();
	virtual int yyaction(int action);

public:
};

#ifndef YYLEXERNAME
#define YYLEXERNAME testlexer
#endif

#define _INCLUDE_ 2
#define _INCLUDE_FILE_ 4
#ifndef INITIAL
#define INITIAL 0
#endif

#endif

⌨️ 快捷键说明

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