Desugaring functions are all done! But we're not ready for the CF backends yet because desugared structures still need to be stashed in the parser.

This commit is contained in:
Meredith L. Patterson 2013-02-20 21:03:34 -05:00
parent ab89b0fd4d
commit 810c06c6db
2 changed files with 7 additions and 2 deletions

View file

@ -10,8 +10,10 @@ static bool indirect_isValidCF(void *env) {
return inner->vtable->isValidCF(inner->env);
}
static HCFChoice desugar_indirect(HAllocator *mm__, void *env) {
static HCFChoice* desugar_indirect(HAllocator *mm__, void *env) {
HParser *p = (HParser*)env;
HParser *inner = (HParser*)p->env;
return inner->desugared;
}
static const HParserVtable indirect_vt = {