make sure LALR doesn't confuse terminal symbols in the enhanced grammar
This commit is contained in:
parent
96503ac497
commit
65dbcf56fc
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ static HCFChoice *new_enhanced_symbol(HLREnhGrammar *eg, const HCFChoice *sym)
|
|||
|
||||
HHashSet *cs = h_hashtable_get(eg->corr, sym);
|
||||
if (!cs) {
|
||||
cs = h_hashset_new(arena, h_eq_symbol, h_hash_symbol);
|
||||
cs = h_hashset_new(arena, h_eq_ptr, h_hash_ptr);
|
||||
h_hashtable_put(eg->corr, sym, cs);
|
||||
}
|
||||
h_hashset_put(cs, esym);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue