mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
LR0: Added debug mode
This commit is contained in:
parent
ee7fd61991
commit
980dda147f
2 changed files with 9 additions and 0 deletions
|
@ -36,6 +36,7 @@ class LR0
|
|||
public:
|
||||
LR0 ();
|
||||
void createParseTables (const Grammar&);
|
||||
void debug (bool);
|
||||
std::string dump () const;
|
||||
|
||||
private:
|
||||
|
@ -43,6 +44,8 @@ private:
|
|||
// | | |
|
||||
std::map <int, std::map <std::string, std::string>> _actions;
|
||||
std::map <int, std::map <std::string, std::string>> _goto;
|
||||
|
||||
bool _debug;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue