mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 12:11:25 +00:00
43abfba723
re2c instead of "Linking X". - Updated lemon and re2c to the latest versions and ported dehsupp to use them for code generation. (Xlatcc is next.) - Added function level linking for Makefile.mingw. SVN r144 (trunk)
28 lines
310 B
C++
28 lines
310 B
C++
/* $Id: token.h,v 1.4 2004/11/01 04:35:57 nuffer Exp $ */
|
|
#ifndef _token_h
|
|
#define _token_h
|
|
|
|
#include "substr.h"
|
|
|
|
namespace re2c
|
|
{
|
|
|
|
class Token
|
|
{
|
|
|
|
public:
|
|
Str text;
|
|
uint line;
|
|
|
|
public:
|
|
Token(SubStr, uint);
|
|
};
|
|
|
|
inline Token::Token(SubStr t, uint l) : text(t), line(l)
|
|
{
|
|
;
|
|
}
|
|
|
|
} // end namespace re2c
|
|
|
|
#endif
|