revert parser stmtListExpr (#11007)

* Revert "Support for stmtListExpr in parser after major keywords. Scaled down version. (#10852)"

This reverts commit 862897dc0f.

* redo fix for #4035

* render stmtlistExpr using semicolon

* Revert "render stmtlistExpr using semicolon"

This reverts commit cafb78b8d5.

* revert test
This commit is contained in:
cooldome
2019-04-17 10:55:41 +01:00
committed by Andreas Rumpf
parent 43832f8e57
commit 7d8af25d58
4 changed files with 11 additions and 52 deletions

View File

@@ -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)