Still doesn't build, but desugaring is farther along
This commit is contained in:
parent
36e1f66de0
commit
156be7a559
16 changed files with 266 additions and 26 deletions
|
|
@ -10,10 +10,18 @@ static HParseResult* parse_end(void *env, HParseState *state) {
|
|||
}
|
||||
}
|
||||
|
||||
static const HCFChoice* desugar_end(HAllocator *mm__, void *env) {
|
||||
static HCFChoice ret = {
|
||||
.type = HCF_END
|
||||
};
|
||||
return &ret;
|
||||
}
|
||||
|
||||
static const HParserVtable end_vt = {
|
||||
.parse = parse_end,
|
||||
.isValidRegular = h_true,
|
||||
.isValidCF = h_true,
|
||||
.desugar = desugar_end,
|
||||
};
|
||||
|
||||
const HParser* h_end_p() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue