summary refs log tree commit diff stats
path: root/compiler/msgs.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-10-18 17:21:51 +0200
committerAraq <rumpf_a@web.de>2011-10-18 17:21:51 +0200
commit4de84024e5e1b91fcd66d4f093cec4d1a985194a (patch)
tree6b8941742c59c21c729e6d8ecd868bb0c29e4a36 /compiler/msgs.nim
parent0914ba8980976ed5204f953aa5548e33ac103686 (diff)
downloadNim-4de84024e5e1b91fcd66d4f093cec4d1a985194a.tar.gz
much more efficient rod file generation
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 4f8a21f54..7fe6f649d 100755
--- a/compiler/msgs.nim
+++ b/compiler/msgs.nim
@@ -76,6 +76,7 @@ type
     errNamedExprNotAllowed, errXExpectsOneTypeParam, 
     errArrayExpectsTwoTypeParams, errInvalidVisibilityX, errInitHereNotAllowed, 
     errXCannotBeAssignedTo, errIteratorNotAllowed, errXNeedsReturnType, 
+    errNoReturnTypeDeclared,
     errInvalidCommandX, errXOnlyAtModuleScope, 
     errXNeedsParamObjectType,
     errTemplateInstantiationTooNested, errInstantiationFrom, 
@@ -284,6 +285,7 @@ const
     errXCannotBeAssignedTo: "\'$1\' cannot be assigned to", 
     errIteratorNotAllowed: "iterators can only be defined at the module\'s top level", 
     errXNeedsReturnType: "$1 needs a return type",
+    errNoReturnTypeDeclared: "no return type declared",
     errInvalidCommandX: "invalid command: \'$1\'", 
     errXOnlyAtModuleScope: "\'$1\' is only allowed at top level", 
     errXNeedsParamObjectType: "'$1' needs a parameter that has an object type",