Inno-Setup-issrc/Projects/Src/ISPP.Consts.pas

119 lines
5.2 KiB
ObjectPascal
Raw Permalink Normal View History

2012-05-09 16:52:22 +02:00
{
Inno Setup Preprocessor
Copyright (C) 2001-2002 Alex Yackimoff
2020-08-29 16:34:04 +02:00
Inno Setup
Copyright (C) 1997-2020 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
2012-05-09 16:52:22 +02:00
}
unit ISPP.Consts;
2012-05-09 16:52:22 +02:00
interface
const
{ Common words/expressions }
SLocal = 'LOCAL';
SGlobal = 'GLOBAL';
SAny = 'ANY';
SInt = 'INT';
SStr = 'STR';
SIdent = 'Identifier';
{ Directive parsing }
SByRefNoDefault = 'By-reference parameter cannot have a default value';
SDirectiveCannotBeInline = 'Directive ''%s'' cannot be inline';
SDoubleElse = '''else'' was already specified';
SElifAfterElse = '''elif'' after ''else''';
SElseWithoutIf = '''else'' without ''if''';
SEndifExpected = '''endif'' expected';
SEndifWithoutIf = '''endif'' without ''if''';
2020-08-09 01:49:07 +02:00
SErrorWhileOpeningFile = 'Error %d while opening file %s';
SErrorWhileReadingFile = 'Error %d while reading file %s';
2012-05-09 16:52:22 +02:00
SFileDirectiveCanBeOnlyInline = '''file'' directive can be only inline';
2020-08-09 01:49:07 +02:00
SFileIsAlreadyBeingIncluded = 'File %s is already being included';
SFileNotFound = 'File not found: %s';
2012-05-09 16:52:22 +02:00
SInsertLineNoTooBig = 'Line number %d is out of current translation';
SInvalidOptionName = 'Invalid option name';
2020-08-09 01:49:07 +02:00
SInvalidTypeId = 'Invalid type identifier: %s';
2012-05-09 16:52:22 +02:00
SMacroExpressionExpected = 'Macro expression expected';
SNonEmptyStringExpected = 'Non empty string expected';
STooManyFormalParams = 'Too many formal parameters';
SUnknownPreprocessorDirective = 'Unknown preprocessor directive';
SUnterminatedPreprocessorDirectiv = 'Unterminated preprocessor directive';
{ Warnings }
SDirectiveNotYetSupported = 'Directive ''%s'' not yet supported';
SFailedToParsePragmaDirective = 'Failed to parse ''pragma'' directive';
SFuncIdentForIfdef = 'Function identifier passed to ''ifdef''/''ifndef'' directive';
SSpecFuncIdentForIfdef = 'Special function identifier passed to ''ifdef''/''ifndef'' directive, result is undefined';
SSpecifiedConditionEvalatedToVoid = 'Specified condition evaluated to void, to test variable for existence use "defined" function';
2012-05-09 16:52:22 +02:00
2020-08-09 01:49:07 +02:00
{ Status messages }
SIncludingFile = 'Including file: %s';
SProcessingExternalFile = 'Processing file: %s';
2012-05-09 16:52:22 +02:00
{ Verbose messages }
2020-08-09 01:23:22 +02:00
SChangedVerboseLevel = 'Changed level of verbosity: %d';
2012-05-09 16:52:22 +02:00
SChangingInsertionPointToLine = 'Changing insertion point to line %d';
2020-08-09 01:23:22 +02:00
SFinishedConditionalInclusion = 'Finished conditional inclusion (''endif'')';
SLineEmitted = 'Emitted line: %s';
2012-05-09 16:52:22 +02:00
SResettingInsertionPoint = 'Resetting insertion point';
SStartingConditionalInclusionIf = 'Starting conditional inclusion (''if'')';
2020-08-09 01:23:22 +02:00
STemporaryFileCreated = 'Created temporary file: %s';
2012-05-09 16:52:22 +02:00
SUpdatingConditionalInclusionElif = 'Updating conditional inclusion (''elif'')';
SUpdatingConditionalInclusionElse = 'Updating conditional inclusion (''else'')';
{ Ident manager errors }
SAllocatingMacroLocalArrayUpToEle = 'Allocating macro %s Local array up to element %d';
2020-08-09 01:49:07 +02:00
SArrayDeclared = '%s array declared: %s';
SArrayReDimmed = '%s array redimensioned: %s';
2012-05-09 16:52:22 +02:00
SErrorExecutingMacro = 'Error at %1:d:%d in macro %0:s:'#13#10#13#10'%3:s';
SErrorExecutingMacroFile = 'Error in %1:s at %d:%d in macro %0:s:'#13#10#13#10'%4:s';
2020-08-09 01:49:07 +02:00
SErrorExecutingMacroUnexpected = 'Error executing macro %s: %s';
2012-05-09 16:52:22 +02:00
SFuncError = 'Unexpected error when calling function %s';
SFuncsNoSupportNamedParams = 'Functions do not support named parameters';
SIndexIsOutOfArraySize = 'Index %d is out of array %s size';
SIndexNotSpecifiedForArray = 'Index not specified for array %s';
SInsufficientParams = 'Insufficient parameters';
SLocalArraysIndexError = 'Local arrays can have up to 16 elements (0 to 15)';
SLValueRequiredForByRefParam = 'L-value required for by-reference parameter %s';
2020-08-09 01:49:07 +02:00
SMacroDefined = '%s macro defined: %s';
2012-05-09 16:52:22 +02:00
SParameterlessVariable = 'Variable does not expect any parameters';
SParamSpecifiedTwice = 'Parameter %s specified twice';
2020-08-09 01:49:07 +02:00
SRedeclaredIdentifier = 'Identifier redeclared: %s';
2012-05-09 16:52:22 +02:00
SRequiredParamMissing = 'Required parameter %s missing';
SSuccessfullyCalledFunction = 'Successfully called function %s';
SSuccessfullyCalledMacro = 'Successfully called macro %s';
STooManyActualParams = 'Too many actual parameters';
2020-08-09 01:49:07 +02:00
SUndefined = '%s %s undefined: %s';
SUnknownParam = 'Unknown parameter: %s';
SVariableDefined = '%s variable defined: %s';
2012-05-09 16:52:22 +02:00
SWrongParamType = 'Actual parameter %s is not of the declared type';
SBadLength = 'Bad dimension';
2012-05-09 16:52:22 +02:00
{ Parser errors }
SActualParamsNamingConflict = 'All actual parameters must appear either in order of their declaration, or by names';
SCannotConvertToInteger = 'Cannot convert "%s" to integer';
SExpectedButFound = '%s expected but %s found';
SIllegalChar = 'Illegal character in input file: ''%s'' (0x%-2x)';
SIntegerExpressionExpected = 'Integer expression expected';
SLValueRequired = 'Left side cannot be assigned to (expression is not an l-value)';
SOperatorNotApplicableToThisOpera = 'Operator not applicable to this operand type';
SStringExpressionExpected = 'String expression expected';
2020-08-09 01:49:07 +02:00
SUndeclaredIdentifier = 'Undeclared identifier: %s';
2012-05-09 16:52:22 +02:00
SWrongUnaryOperator = 'Wrong unary operator';
implementation
end.