Remove unneeded desugaring code.

This commit is contained in:
Dan Hirsch 2013-05-27 08:31:15 +02:00
parent ec404ca8fe
commit 92f2eecf6c
2 changed files with 1 additions and 7 deletions

View file

@ -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)