Parser: Test for exact missing ':' location column

This ensures compiler points to the right place when claiming that ':' is
missing.
This commit is contained in:
Adam Strzelecki 2015-04-19 17:44:04 +02:00
commit dc1b15647c
3 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,12 @@
discard """
file: "tinvcolonlocation3.nim"
line: 12
column: 3
errormsg: "':' expected"
"""
try:
echo "try"
except:
echo "except"
finally #<- missing ':'
echo "finally"