summary refs log tree commit diff stats
path: root/compiler/msgs.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-11-02 02:28:18 +0100
committerAraq <rumpf_a@web.de>2011-11-02 02:28:18 +0100
commit1f6725e59e4afe1f803b47fb272bfe45a9b1fcea (patch)
treeb6455a26544febe05266b2f527ff472ea88ba0bf /compiler/msgs.nim
parent84c473a8901f8ae8411bdfb9f5b90d8b27e1689f (diff)
downloadNim-1f6725e59e4afe1f803b47fb272bfe45a9b1fcea.tar.gz
small bugfixes to make more tests green
Diffstat (limited to 'compiler/msgs.nim')
-rwxr-xr-xcompiler/msgs.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim
index 9049fdb22..880ed8d2e 100755
--- a/compiler/msgs.nim
+++ b/compiler/msgs.nim
@@ -19,6 +19,7 @@ type
     errTabulatorsAreNotAllowed, errInvalidToken, errLineTooLong, 
     errInvalidNumber, errNumberOutOfRange, errNnotAllowedInCharacter, 
     errClosingBracketExpected, errMissingFinalQuote, errIdentifierExpected, 
+    errNewlineExpected,
     errInvalidModuleName,
     errOperatorExpected, errTokenExpected, errStringAfterIncludeExpected, 
     errRecursiveDependencyX, errOnOrOffExpected, errNoneSpeedOrSizeExpected, 
@@ -128,6 +129,7 @@ const
     errClosingBracketExpected: "closing ']' expected, but end of file reached", 
     errMissingFinalQuote: "missing final \'", 
     errIdentifierExpected: "identifier expected, but found \'$1\'", 
+    errNewlineExpected: "newline expected, but found \'$1\'",
     errInvalidModuleName: "invalid module name: '$1'",
     errOperatorExpected: "operator expected, but found \'$1\'", 
     errTokenExpected: "\'$1\' expected",