consider HCF_CHARSET terminal symbols (as the LL driver already treats them)
This commit is contained in:
parent
efae603c6b
commit
c794be5b6f
2 changed files with 21 additions and 32 deletions
|
|
@ -113,6 +113,7 @@ static int fill_table(HCFGrammar *g, HLLkTable *table)
|
|||
if(hte->key == NULL)
|
||||
continue;
|
||||
const HCFChoice *a = hte->key; // production's left-hand symbol
|
||||
assert(a->type == HCF_CHOICE);
|
||||
|
||||
// create table row for this nonterminal
|
||||
HHashTable *row = h_hashtable_new(table->arena, h_eq_ptr, h_hash_ptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue