mirror of
https://forge.katzen.cafe/katzen-cafe/iowo.git
synced 2024-12-22 10:05:52 +01:00
lang: fix matrix recovery
This commit is contained in:
parent
e62b50a51a
commit
9510d9254c
1 changed files with 2 additions and 0 deletions
|
@ -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