summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--compiler/msgs.nim15
1 files changed, 5 insertions, 10 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim
index f08d2d2af..5ae2c4970 100644
--- a/compiler/msgs.nim
+++ b/compiler/msgs.nim
@@ -16,18 +16,18 @@ const
 type
   TMsgKind* = enum
     errUnknown, errInternal, errIllFormedAstX, errCannotOpenFile, errGenerated,
-    errXCompilerDoesNotSupportCpp, errStringLiteralExpected,
+    errStringLiteralExpected,
     errIntLiteralExpected, errInvalidCharacterConstant,
     errClosingTripleQuoteExpected, errClosingQuoteExpected,
-    errTabulatorsAreNotAllowed, errInvalidToken, errLineTooLong,
+    errTabulatorsAreNotAllowed, errInvalidToken,
     errInvalidNumber, errInvalidNumberOctalCode, errNumberOutOfRange,
     errNnotAllowedInCharacter, errClosingBracketExpected, errMissingFinalQuote,
     errIdentifierExpected, errNewlineExpected, errInvalidModuleName,
-    errOperatorExpected, errTokenExpected, errStringAfterIncludeExpected,
+    errOperatorExpected, errTokenExpected,
     errRecursiveDependencyX, errOnOrOffExpected, errNoneSpeedOrSizeExpected,
     errInvalidPragma, errUnknownPragma, errInvalidDirectiveX,
     errAtPopWithoutPush, errEmptyAsm, errInvalidIndentation,
-    errExceptionExpected, errExceptionAlreadyHandled,
+    errExceptionAlreadyHandled,
     errYieldNotAllowedHere, errYieldNotAllowedInTryStmt,
     errInvalidNumberOfYieldExpr, errCannotReturnExpr,
     errNoReturnWithReturnTypeNotAllowed, errAttemptToRedefine,
@@ -71,7 +71,7 @@ type
     errWrongNumberOfArgumentsInCall,
     errMissingGenericParamsForTemplate,
     errXCannotBePassedToProcVar,
-    errXCannotBeInParamDecl, errPragmaOnlyInHeaderOfProcX, errImplOfXNotAllowed,
+    errPragmaOnlyInHeaderOfProcX, errImplOfXNotAllowed,
     errImplOfXexpected, errNoSymbolToBorrowFromFound, errDiscardValueX,
     errInvalidDiscard, errIllegalConvFromXtoY, errCannotBindXTwice,
     errInvalidOrderInArrayConstructor,
@@ -148,7 +148,6 @@ const
     errIllFormedAstX: "illformed AST: $1",
     errCannotOpenFile: "cannot open \'$1\'",
     errGenerated: "$1",
-    errXCompilerDoesNotSupportCpp: "\'$1\' compiler does not support C++",
     errStringLiteralExpected: "string literal expected",
     errIntLiteralExpected: "integer literal expected",
     errInvalidCharacterConstant: "invalid character constant",
@@ -156,7 +155,6 @@ const
     errClosingQuoteExpected: "closing \" expected",
     errTabulatorsAreNotAllowed: "tabulators are not allowed",
     errInvalidToken: "invalid token: $1",
-    errLineTooLong: "line too long",
     errInvalidNumber: "$1 is not a valid number",
     errInvalidNumberOctalCode: "$1 is not a valid number; did you mean octal? Then use one of '0o', '0c' or '0C'.",
     errNumberOutOfRange: "number $1 out of valid range",
@@ -168,7 +166,6 @@ const
     errInvalidModuleName: "invalid module name: '$1'",
     errOperatorExpected: "operator expected, but found \'$1\'",
     errTokenExpected: "\'$1\' expected",
-    errStringAfterIncludeExpected: "string after \'include\' expected",
     errRecursiveDependencyX: "recursive dependency: \'$1\'",
     errOnOrOffExpected: "\'on\' or \'off\' expected",
     errNoneSpeedOrSizeExpected: "\'none\', \'speed\' or \'size\' expected",
@@ -178,7 +175,6 @@ const
     errAtPopWithoutPush: "\'pop\' without a \'push\' pragma",
     errEmptyAsm: "empty asm statement",
     errInvalidIndentation: "invalid indentation",
-    errExceptionExpected: "exception expected",
     errExceptionAlreadyHandled: "exception already handled",
     errYieldNotAllowedHere: "'yield' only allowed in an iterator",
     errYieldNotAllowedInTryStmt: "'yield' cannot be used within 'try' in a non-inlined iterator",
@@ -284,7 +280,6 @@ const
     errWrongNumberOfArgumentsInCall: "wrong number of arguments in call to '$1'",
     errMissingGenericParamsForTemplate: "'$1' has unspecified generic parameters",
     errXCannotBePassedToProcVar: "\'$1\' cannot be passed to a procvar",
-    errXCannotBeInParamDecl: "$1 cannot be declared in parameter declaration",
     errPragmaOnlyInHeaderOfProcX: "pragmas are only allowed in the header of a proc; redefinition of $1",
     errImplOfXNotAllowed: "implementation of \'$1\' is not allowed",
     errImplOfXexpected: "implementation of \'$1\' expected",