Fix non-deterministic order in conflict description

This commit is contained in:
Max Brunsfeld 2015-03-07 10:47:37 -08:00
parent 2d436cf141
commit 3458fa6e50
4 changed files with 24 additions and 5 deletions

View file

@ -36,7 +36,8 @@ class ParseAction {
int precedence, int production_id);
static ParseAction ShiftExtra();
static ParseAction ReduceExtra(rules::Symbol symbol);
bool operator==(const ParseAction &action) const;
bool operator==(const ParseAction &) const;
bool operator<(const ParseAction &) const;
ParseActionType type;
rules::Symbol symbol;