diff options
author | cooldome <cdome@bk.ru> | 2019-04-17 10:55:41 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-04-17 11:55:41 +0200 |
commit | 7d8af25d5828e67f10c0f5a75abf9ee8fc02a9bb (patch) | |
tree | dd25210549bc8c64b17db2776fa75bde463ab58b /tests/parser | |
parent | 43832f8e575b472907579b74dca0797f8130baa8 (diff) | |
download | Nim-7d8af25d5828e67f10c0f5a75abf9ee8fc02a9bb.tar.gz |
revert parser stmtListExpr (#11007)
* Revert "Support for stmtListExpr in parser after major keywords. Scaled down version. (#10852)" This reverts commit 862897dc0f122e374c0e4d44770ffcd8825e51e3. * redo fix for #4035 * render stmtlistExpr using semicolon * Revert "render stmtlistExpr using semicolon" This reverts commit cafb78b8d5b125b5f6ba94248377a1433b3138cb. * revert test
Diffstat (limited to 'tests/parser')
-rw-r--r-- | tests/parser/tstmtlist_expr.nim | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/parser/tstmtlist_expr.nim b/tests/parser/tstmtlist_expr.nim deleted file mode 100644 index 8b4bb8505..000000000 --- a/tests/parser/tstmtlist_expr.nim +++ /dev/null @@ -1,20 +0,0 @@ -discard """ - output: '''10''' -""" - -proc xx(a: int): int = - let y = 0 - return - var x = 0 - x + y - -proc b(x: int): int = - raise - var e: ref Exception - new(e) - e.msg = "My Exception msg" - e - -##issue 4035 -echo(5 + -5) \ No newline at end of file |