raze-gles/tools/re2c/src/parse/rules.h
Christoph Oelckers 8c95516224 - added compile tools from GZDoom repo:
- updaterevision for automated revision string generation
- re2c as a prerequisite to use sc_man in the future
- zipdir to automatically generate an engine resource file.
2019-09-22 08:52:30 +02:00

29 lines
397 B
C++

#ifndef _RE2C_PARSE_RULES_
#define _RE2C_PARSE_RULES_
#include <map>
#include <set>
#include "src/ir/rule_rank.h"
namespace re2c
{
struct rule_info_t
{
uint32_t line;
std::set<rule_rank_t> shadow;
bool reachable;
rule_info_t ()
: line (0)
, shadow ()
, reachable (false)
{}
};
typedef std::map<rule_rank_t, rule_info_t> rules_t;
} // namespace re2c
#endif // _RE2C_PARSE_RULES_