mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-16 09:21:51 +00:00
cf11cbdb30
SVN r4 (trunk)
23 lines
429 B
C++
23 lines
429 B
C++
/* $Id: parser.h,v 1.4 2004/05/13 02:58:17 nuffer Exp $ */
|
|
#ifndef _parser_h
|
|
#define _parser_h
|
|
|
|
#include "scanner.h"
|
|
#include "re.h"
|
|
#include <iosfwd>
|
|
|
|
class Symbol {
|
|
public:
|
|
static Symbol *first;
|
|
Symbol *next;
|
|
Str name;
|
|
RegExp *re;
|
|
public:
|
|
Symbol(const SubStr&);
|
|
static Symbol *find(const SubStr&);
|
|
};
|
|
|
|
void line_source(unsigned int, std::ostream&);
|
|
void parse(std::istream&, std::ostream&);
|
|
|
|
#endif
|