From 4de84024e5e1b91fcd66d4f093cec4d1a985194a Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 18 Oct 2011 17:21:51 +0200 Subject: much more efficient rod file generation --- compiler/msgs.nim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/msgs.nim') 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", -- cgit 1.4.1-2-gfad0