diff options
author | hlaaftana <10591326+hlaaftana@users.noreply.github.com> | 2021-11-24 09:08:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 07:08:07 +0100 |
commit | 2859069dbe1c943494cb6be299b200afa748cf52 (patch) | |
tree | a662da11429450dfd34e84c655f0c2e09999c7e6 /compiler | |
parent | 5933aece9b5f7320e8feb2ef610b59d347c74d27 (diff) | |
download | Nim-2859069dbe1c943494cb6be299b200afa748cf52.tar.gz |
fix #12274 (#19180)
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/parser.nim | 2 |
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 |