mirror of
https://github.com/janet-lang/janet
synced 2025-01-13 00:50:26 +00:00
Fix parser regression.
This commit is contained in:
parent
d64a57297d
commit
aa079e3145
@ -494,6 +494,9 @@ static int root(JanetParser *p, JanetParseState *state, uint8_t c) {
|
|||||||
} else {
|
} else {
|
||||||
ds = close_struct(p, state);
|
ds = close_struct(p, state);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
p->error = "mismatched delimiter";
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
popstate(p, ds);
|
popstate(p, ds);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user