jitcraft/Messages.tbl
author David Anderson <dvander@alliedmods.net>
Sun Jul 08 15:23:48 2012 -0700 (2012-07-08)
changeset 62 e04c5be84792
parent 60 581a9c793062
child 63 dd57743d220e
permissions -rw-r--r--
Add some more API.
     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")