mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-03 17:32:26 +00:00
28 lines
708 B
C++
28 lines
708 B
C++
#ifndef _RE2C_PARSE_PARSER_
|
|
#define _RE2C_PARSE_PARSER_
|
|
|
|
#include <list>
|
|
#include <string>
|
|
|
|
#include "src/codegen/output.h"
|
|
#include "src/ir/regexp/regexp.h"
|
|
#include "src/ir/regexp/regexp_rule.h"
|
|
#include "src/parse/scanner.h"
|
|
#include "src/parse/spec.h"
|
|
|
|
namespace re2c
|
|
{
|
|
|
|
extern void parse(Scanner &, Output &);
|
|
extern void parse_cleanup();
|
|
|
|
typedef std::set<std::string> CondList;
|
|
typedef std::list<RuleOp*> RuleOpList;
|
|
typedef std::map<std::string, Spec> SpecMap;
|
|
typedef std::map<std::string, std::pair<uint32_t, std::string> > SetupMap;
|
|
typedef std::map<std::string, const Code *> DefaultMap;
|
|
typedef std::map<std::string, RegExp *> symbol_table_t;
|
|
|
|
} // namespace re2c
|
|
|
|
#endif // _RE2C_PARSE_PARSER_
|