REPL improvements

This commit is contained in:
Araq 2011-02-13 21:24:52 +01:00
commit 55c4074647
24 changed files with 3098 additions and 51 deletions

View file

@ -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",