require errormsg to be specified before file.

This commit is contained in:
Arne Döring 2018-11-29 16:07:51 +01:00 • committed by Araq
commit 1105d03644
264 changed files with 305 additions and 623 deletions

View file

@ -1,7 +1,7 @@
discard """
errormsg: "invalid token: trailing underscore"
file: "tunderscores.nim"
line: 8
errormsg: "invalid token: trailing underscore"
"""
# Bug #502670
@ -9,6 +9,3 @@ var ef_ = 3 #ERROR_MSG invalid token: _
var a__b = 1
var c___d = 2
echo(ab, cd, ef_)