Remove unneeded desugaring code.
This commit is contained in:
parent
ec404ca8fe
commit
92f2eecf6c
2 changed files with 1 additions and 7 deletions
|
|
@ -8,7 +8,7 @@ HCFChoice *h_desugar(HAllocator *mm__, HCFStack *stk__, const HParser *parser) {
|
|||
if (nstk__ == NULL) {
|
||||
nstk__ = h_cfstack_new(mm__);
|
||||
}
|
||||
// we're going to do something naughty and cast away the const to memoize
|
||||
assert(parser->vtable->desugar != NULL);
|
||||
parser->vtable->desugar(mm__, nstk__, parser->env);
|
||||
((HParser *)parser)->desugared = nstk__->last_completed;
|
||||
if (stk__ == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue