More LL(k) fixes (Merge branch 'LL' of https://github.com/pesco/hammer)
This commit is contained in:
commit
c8dba54bb4
4 changed files with 90 additions and 61 deletions
|
|
@ -25,7 +25,6 @@ static bool opt_isValidCF(void *env) {
|
|||
static HParsedToken* reshape_optional(const HParseResult *p) {
|
||||
assert(p->ast);
|
||||
assert(p->ast->token_type == TT_SEQUENCE);
|
||||
assert(p->ast->seq->used > 0);
|
||||
|
||||
HParsedToken *res = p->ast->seq->elements[0];
|
||||
if(res)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue