Fix conflation of finished items w/ different precedence
This commit is contained in:
parent
84fe01e145
commit
1983bcfb60
16 changed files with 19073 additions and 18250 deletions
|
|
@ -380,9 +380,8 @@ class CCodeGenerator {
|
|||
}
|
||||
|
||||
bool reduce_action_is_fragile(const ParseAction &action) const {
|
||||
return parse_table.fragile_production_ids.find(
|
||||
{ action.symbol, action.production_id }) !=
|
||||
parse_table.fragile_production_ids.end();
|
||||
return parse_table.fragile_productions.find(action.production) !=
|
||||
parse_table.fragile_productions.end();
|
||||
}
|
||||
|
||||
// C-code generation functions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue