mirror of
https://forge.katzen.cafe/katzen-cafe/iowo.git
synced 2024-11-21 21:24:41 +01:00
lang: fix matrix recovery
This commit is contained in:
parent
e62b50a51a
commit
9510d9254c
|
@ -52,8 +52,10 @@ fn matrix_body(p: &mut Parser) {
|
|||
}
|
||||
};
|
||||
} else if p.at(R_BRACK) {
|
||||
mat_item.abandon(p);
|
||||
going = false;
|
||||
} else {
|
||||
mat_item.abandon(p);
|
||||
let err = p.start("err");
|
||||
p.do_bump();
|
||||
err.complete_err(p, SyntaxError::Expected(vec![EXPR, R_BRACK]));
|
||||
|
|
Loading…
Reference in a new issue