summary refs log tree commit diff stats
path: root/rod/msgs.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-02-13 21:24:52 +0100
committerAraq <rumpf_a@web.de>2011-02-13 21:24:52 +0100
commit55c40746474cff452c09fa9c1244e3d0c7b3ad21 (patch)
tree3c3f4cf72a24b98ecabc7f259cc3018ad936ddb9 /rod/msgs.nim
parentc717304ce61acdf7f980bc4ed185e7ea9e886dd5 (diff)
downloadNim-55c40746474cff452c09fa9c1244e3d0c7b3ad21.tar.gz
REPL improvements
Diffstat (limited to 'rod/msgs.nim')
-rwxr-xr-xrod/msgs.nim5
1 files changed, 2 insertions, 3 deletions
diff --git a/rod/msgs.nim b/rod/msgs.nim
index 0c1ca2137..a34542c8d 100755
--- a/rod/msgs.nim
+++ b/rod/msgs.nim
@@ -45,7 +45,7 @@ type
     errExprXCannotBeCalled, errExprHasNoType, errExprXHasNoType, 
     errCastNotInSafeMode, errExprCannotBeCastedToX, errCommaOrParRiExpected, 
     errCurlyLeOrParLeExpected, errSectionExpected, errRangeExpected, 
-    errAttemptToRedefineX, errMagicOnlyInSystem, errPowerOfTwoExpected, 
+    errMagicOnlyInSystem, errPowerOfTwoExpected, 
     errStringMayNotBeEmpty, errCallConvExpected, errProcOnlyOneCallConv, 
     errSymbolMustBeImported, errExprMustBeBool, errConstExprExpected, 
     errDuplicateCaseLabel, errRangeIsEmpty, errSelectorMustBeOfCertainTypes, 
@@ -134,7 +134,7 @@ const
     errYieldNotAllowedHere: "\'yield\' only allowed in a loop of an iterator", 
     errInvalidNumberOfYieldExpr: "invalid number of \'yield\' expresions", 
     errCannotReturnExpr: "current routine cannot return an expression", 
-    errAttemptToRedefine: "attempt to redefine \'$1\'", 
+    errAttemptToRedefine: "redefinition of \'$1\'", 
     errStmtInvalidAfterReturn: "statement not allowed after \'return\', \'break\' or \'raise\'", 
     errStmtExpected: "statement expected", 
     errInvalidLabel: "\'$1\' is no label", 
@@ -191,7 +191,6 @@ const
     errCurlyLeOrParLeExpected: "\'{\' or \'(\' expected", 
     errSectionExpected: "section (\'type\', \'proc\', etc.) expected", 
     errRangeExpected: "range expected", 
-    errAttemptToRedefineX: "attempt to redefine \'$1\'", 
     errMagicOnlyInSystem: "\'magic\' only allowed in system module", 
     errPowerOfTwoExpected: "power of two expected",
     errStringMayNotBeEmpty: "string literal may not be empty",