mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-17 21:10:53 +00:00
8c95516224
- 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.
29 lines
397 B
C++
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_
|