remove an erroneous assert that snuck into reshape_optional
This commit is contained in:
parent
8da48913b1
commit
81e0ffed1d
1 changed files with 0 additions and 1 deletions
|
|
@ -25,7 +25,6 @@ static bool opt_isValidCF(void *env) {
|
||||||
static const HParsedToken* reshape_optional(const HParseResult *p) {
|
static const HParsedToken* reshape_optional(const HParseResult *p) {
|
||||||
assert(p->ast);
|
assert(p->ast);
|
||||||
assert(p->ast->token_type == TT_SEQUENCE);
|
assert(p->ast->token_type == TT_SEQUENCE);
|
||||||
assert(p->ast->seq->used > 0);
|
|
||||||
|
|
||||||
HParsedToken *res = p->ast->seq->elements[0];
|
HParsedToken *res = p->ast->seq->elements[0];
|
||||||
if(res)
|
if(res)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue