jitcraft/Messages.tbl
author David Anderson <dvander@alliedmods.net>
Tue Jul 10 02:11:13 2012 -0700 (2012-07-10)
changeset 68 b40b0e18a918
parent 67 b765a6383849
child 69 dfce0539a77d
permissions -rw-r--r--
Added support for ISourcePawnEngine natives.
     1 MSG(OutOfMemory,                    SyntaxError,            "out of memory")
     2 MSG(UnterminatedComment,            SyntaxError,            "unterminated comment")
     3 MSG(UnexpectedCharacter,            SyntaxError,            "unexpected character '%c' (code %02X)")
     4 MSG(UnterminatedString,             SyntaxError,            "unterminated string")
     5 MSG(UnknownEscapeCode,              SyntaxError,            "unknown escape code '%c'")
     6 MSG(ExpectedDigitForFloat,          SyntaxError,            "expected digit in float literal, got '%c'")
     7 MSG(WrongToken,                     SyntaxError,            "expected token '%s', got '%s'")
     8 MSG(ExpectedExpression,             SyntaxError,            "expected expression, got '%s'")
     9 MSG(RedeclaredName,                 SyntaxError,            "name '%s' was redeclared (previous at line %d, col %d)")
    10 MSG(ExpectedLValue,                 SyntaxError,            "impossible assignment, expected l-value")
    11 MSG(MaximumArrayDepth,              SyntaxError,            "maximum array dimension depth exceeded")
    12 MSG(ArrayInitializerDepth,          SyntaxError,            "array declaration and initializer have different dimension counts")
    13 MSG(BadArraySize,                   SyntaxError,            "array size must be positive")
    14 MSG(ArraySizeTooBig,                SyntaxError,            "array size is too big")
    15 MSG(EnumFieldNotConstant,           SyntaxError,            "enum fields must be constant integers")
    16 MSG(BreakOutsideLoop,               SyntaxError,            "break occurs outside any loop")
    17 MSG(ContinueOutsideLoop,            SyntaxError,            "continue occurs outside any loop")
    18 MSG(InvalidEnumName,                SyntaxError,            "invalid enumeration name")
    19 MSG(IndexMustBeInteger,             SyntaxError,            "array index must be integer")
    20 MSG(IndexBaseMustBeArray,           SyntaxError,            "cannot index into non-array")
    21 MSG(ArrayIsNotBoolean,              SyntaxError,            "cannot convert an array to boolean")
    22 MSG(CalleeNotFunction,              SyntaxError,            "callee is not a function")
    23 MSG(ArgumentCountMismatch,          SyntaxError,            "argument counts do not match")
    24 MSG(CannotAssignArrayToScalar,      SyntaxError,            "cannot coerce an array to a scalar")
    25 MSG(UnsupportedType,                SyntaxError,            "unsupported type")
    26 MSG(TagMismatch,                    SyntaxError,            "tag mismatch (expected '%s', got '%s')")
    27 MSG(ArrayDimensionsMismatch,        SyntaxError,            "number of array dimensions does not match")
    28 MSG(ExpectedArray,                  SyntaxError,            "expected array")
    29 MSG(ArrayDimensionSizeMismatch,     SyntaxError,            "array dimension sizes do not match (level %d)")
    30 MSG(ArrayDimensionNotInteger,       SyntaxError,            "array dimension size must be an integer expression")
    31 MSG(ArrayNotSupported,              SyntaxError,            "array declaration not yet supported")
    32 MSG(ArrayInitializerUnknown,        SyntaxError,            "array initialized size is not known")
    33 MSG(DynamicArrayHasInitializer,     SyntaxError,            "dynamic arrays cannot have initializers")
    34 MSG(ArraySizeNotSpecified,          SyntaxError,            "array size was not specified")
    35 MSG(ArraySizeCannotBeDetermined,    SyntaxError,            "array size cannot be determined from initializer")
    36 MSG(ArrayAssignmentTooBig,          SyntaxError,            "destination array is too small")
    37 MSG(CannotDeclareStringCell,        SyntaxError,            "cannot declare a String cell")
    38 MSG(BinaryTypeError,                SyntaxError,            "operator '%s' does not support types '%s' and '%s'")
    39 MSG(ArraySizeNotKnown,              SyntaxError,            "array size is not known")
    40 MSG(UnaryTypeError,                 SyntaxError,            "operator '%s' does not support type '%s'")
    41 MSG(CantOpenFile,                   SyntaxError,            "cannot open file")
    42 MSG(ErrorSeekingFile,               SyntaxError,            "error seeking file")
    43 MSG(ErrorReadingFile,               SyntaxError,            "error reading file")
    44 MSG(ExpectedGlobal,                 SyntaxError,            "expected global variable or function")
    45 MSG(ForwardNotImplemented,          SyntaxError,            "forward '%s' not implemented")
    46 MSG(ForwardDeclareMismatches,       SyntaxError,            "declaration does not match original forward signature")
    47 MSG(ArrayCantBeReference,           SyntaxError,            "a parameter cannot be both an array and a reference")
    48 MSG(ArraySizeMustBeConstant,        SyntaxError,            "array size must be a constant integer")
    49 MSG(ReferenceIsConstant,            SyntaxError,            "cannot assign to a constant lvalue")
    50 MSG(MultiArrayInNative,             SyntaxError,            "multidimensional arrays cannot be passed to natives")
    51 MSG(InvalidVarArgs,                 SyntaxError,            "varargs cannot be const or ref")
    52 MSG(VarArgsOutsideNative,           SyntaxError,            "variadic arguments can only be specified on natives")