summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorhlaaftana <10591326+hlaaftana@users.noreply.github.com>2021-11-24 09:08:07 +0300
committerGitHub <noreply@github.com>2021-11-24 07:08:07 +0100
commit2859069dbe1c943494cb6be299b200afa748cf52 (patch)
treea662da11429450dfd34e84c655f0c2e09999c7e6 /compiler
parent5933aece9b5f7320e8feb2ef610b59d347c74d27 (diff)
downloadNim-2859069dbe1c943494cb6be299b200afa748cf52.tar.gz
fix #12274 (#19180)
Diffstat (limited to 'compiler')
-rw-r--r--compiler/parser.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/parser.nim b/compiler/parser.nim
index aedf62d54..0ef6d1f54 100644
--- a/compiler/parser.nim
+++ b/compiler/parser.nim
@@ -1146,7 +1146,7 @@ proc isExprStart(p: Parser): bool =
   of tkSymbol, tkAccent, tkOpr, tkNot, tkNil, tkCast, tkIf, tkFor,
      tkProc, tkFunc, tkIterator, tkBind, tkBuiltInMagics,
      tkParLe, tkBracketLe, tkCurlyLe, tkIntLit..tkCustomLit, tkVar, tkRef, tkPtr,
-     tkTuple, tkObject, tkWhen, tkCase, tkOut:
+     tkTuple, tkObject, tkWhen, tkCase, tkOut, tkTry, tkBlock:
     result = true
   else: result = false