Still broken, but all desugaring functions stubbed out.

This commit is contained in:
Meredith L. Patterson 2013-02-03 02:18:19 -05:00
parent 156be7a559
commit 5ae267f3ed
14 changed files with 147 additions and 26 deletions

View file

@ -21,10 +21,15 @@ static bool opt_isValidCF(void *env) {
return p->vtable->isValidCF(p->env);
}
static HCFChoice* desugar_optional(HAllocator *mm__, void *env) {
}
static const HParserVtable optional_vt = {
.parse = parse_optional,
.isValidRegular = opt_isValidRegular,
.isValidCF = opt_isValidCF,
.desugar = desugar_optional,
};
const HParser* h_optional(const HParser* p) {