Files
Nim/tests/parser
metagn 918f972369 skip semicolon in stmtlist expr parsing (#24855)
Previously it would try to parse the semicolon as its own statement and
produce an `nkEmpty` node

Also more than 1 semicolon in an expression list i.e. `(a;; b)` gives an
"expression expected" error in `semiStmtList` when multiple semicolons
are allowed in normal statements, this could be fixed by changing the
`if tok.kind == tokSemicolon` check to a `while` but it does not match
the grammar so not done here.
2025-04-11 03:29:20 +02:00
..
2022-09-23 13:05:05 +02:00
2021-04-30 17:17:29 +02:00
2023-04-06 13:36:21 +02:00
2020-09-12 12:39:46 +01:00
2019-03-21 06:48:54 +01:00
2019-05-29 22:21:51 +02:00
2015-03-22 01:38:13 +01:00
2018-05-14 21:38:18 +02:00
2018-05-05 14:17:31 +02:00