| 1 | /* $Header: d:/cvsroot/tads/tads3/TCERRNUM.H,v 1.5 1999/07/11 00:46:53 MJRoberts Exp $ */ |
| 2 | |
| 3 | /* |
| 4 | * Copyright (c) 1999, 2002 Michael J. Roberts. All Rights Reserved. |
| 5 | * |
| 6 | * Please see the accompanying license file, LICENSE.TXT, for information |
| 7 | * on using and copying this software. |
| 8 | */ |
| 9 | /* |
| 10 | Name |
| 11 | tcerrnum.h - T3 Compiler Error Numbers |
| 12 | Function |
| 13 | |
| 14 | Notes |
| 15 | All T3 Compiler error numbers are in the range 10000-19999. |
| 16 | Modified |
| 17 | 04/15/99 MJRoberts - Creation |
| 18 | */ |
| 19 | |
| 20 | #ifndef TCERRNUM_H |
| 21 | #define TCERRNUM_H |
| 22 | |
| 23 | |
| 24 | /* ------------------------------------------------------------------------ */ |
| 25 | /* |
| 26 | * Tokenizer and Preprocessor Errors |
| 27 | */ |
| 28 | |
| 29 | /* out of memory for source line - source line is too long */ |
| 30 | #define TCERR_LINE_MEM 10001 |
| 31 | |
| 32 | /* invalid preprocessor directive "%.*s" */ |
| 33 | #define TCERR_INV_PP_DIR 10002 |
| 34 | |
| 35 | /* unable to load character set specified in #charset directive */ |
| 36 | #define TCERR_CANT_LOAD_CHARSET 10003 |
| 37 | |
| 38 | /* |
| 39 | * unexpected or invalid #charset - directive must be at the very |
| 40 | * beginning of the file, and must specify a character set name enclosed |
| 41 | * in double quotes |
| 42 | */ |
| 43 | #define TCERR_UNEXPECTED_CHARSET 10004 |
| 44 | |
| 45 | /* invalid #include syntax - required '"' or '< >' around filename */ |
| 46 | #define TCERR_BAD_INC_SYNTAX 10005 |
| 47 | |
| 48 | /* #include file "%.*s" not found */ |
| 49 | #define TCERR_INC_NOT_FOUND 10006 |
| 50 | |
| 51 | /* #include file "%.*s" previously included; redundant inclusion ignored */ |
| 52 | #define TCERR_REDUNDANT_INCLUDE 10007 |
| 53 | |
| 54 | /* invalid symbol "%.*s" for #define */ |
| 55 | #define TCERR_BAD_DEFINE_SYM 10008 |
| 56 | |
| 57 | /* out of memory for token text */ |
| 58 | #define TCERR_NO_MEM_TOKEN 10009 |
| 59 | |
| 60 | /* missing ')' in macro parameter list */ |
| 61 | #define TCERR_MACRO_NO_RPAR 10010 |
| 62 | |
| 63 | /* invalid macro parameter name "%.*s" */ |
| 64 | #define TCERR_BAD_MACRO_ARG_NAME 10011 |
| 65 | |
| 66 | /* expected comma or ')' in macro parameter list */ |
| 67 | #define TCERR_MACRO_EXP_COMMA 10012 |
| 68 | |
| 69 | /* redefinition of macro "%.*s" */ |
| 70 | #define TCERR_MACRO_REDEF 10013 |
| 71 | |
| 72 | /* unrecognized pragma "%.*s" */ |
| 73 | #define TCERR_UNKNOWN_PRAGMA 10014 |
| 74 | |
| 75 | /* pragma syntax error */ |
| 76 | #define TCERR_BAD_PRAGMA_SYNTAX 10015 |
| 77 | |
| 78 | /* extra characters after end of preprocessor directive */ |
| 79 | #define TCERR_PP_EXTRA 10016 |
| 80 | |
| 81 | /* #if nesting too deep */ |
| 82 | #define TCERR_IF_NESTING_OVERFLOW 10017 |
| 83 | |
| 84 | /* #else without #if */ |
| 85 | #define TCERR_PP_ELSE_WITHOUT_IF 10018 |
| 86 | |
| 87 | /* #endif without #if */ |
| 88 | #define TCERR_PP_ENDIF_WITHOUT_IF 10019 |
| 89 | |
| 90 | /* #elif without #if */ |
| 91 | #define TCERR_PP_ELIF_WITHOUT_IF 10020 |
| 92 | |
| 93 | /* numeric value required in preprocessor constant expression */ |
| 94 | #define TCERR_PP_INT_REQUIRED 10021 |
| 95 | |
| 96 | /* incompatible types for comparison in preprocessor constant expression */ |
| 97 | #define TCERR_PP_INCOMP_TYPES 10022 |
| 98 | |
| 99 | /* extra characters after end of preprocessor constant expression */ |
| 100 | #define TCERR_PP_EXPR_EXTRA 10023 |
| 101 | |
| 102 | /* division by zero in preprocessor constant expression */ |
| 103 | #define TCERR_PP_DIV_ZERO 10024 |
| 104 | |
| 105 | /* |
| 106 | * expected number, symbol, or single-quoted string in preprocessor |
| 107 | * constant expression, got "%.*s" |
| 108 | */ |
| 109 | #define TCERR_PP_INVALID_VALUE 10025 |
| 110 | |
| 111 | /* unterminated string */ |
| 112 | #define TCERR_PP_UNTERM_STRING 10026 |
| 113 | |
| 114 | /* unmatched left parenthesis in preprocessor constant expression */ |
| 115 | #define TCERR_PP_UNMATCHED_LPAR 10027 |
| 116 | |
| 117 | /* number or true/nil required for "!" operator in preprocessor expression */ |
| 118 | #define TCERR_PP_BAD_NOT_VAL 10028 |
| 119 | |
| 120 | /* missing right paren in macro expansion (must be on same line for #) */ |
| 121 | #define TCERR_PP_MACRO_ARG_RPAR_1LINE 10029 |
| 122 | |
| 123 | /* argument list must be provided in macro invocation */ |
| 124 | #define TCERR_PP_NO_MACRO_ARGS 10030 |
| 125 | |
| 126 | /* not enough arguments in macro invocation */ |
| 127 | #define TCERR_PP_FEW_MACRO_ARGS 10031 |
| 128 | |
| 129 | /* no close paren in macro argument list */ |
| 130 | #define TCERR_PP_MACRO_ARG_RPAR 10032 |
| 131 | |
| 132 | /* too many arguments in macro invocation */ |
| 133 | #define TCERR_PP_MANY_MACRO_ARGS 10033 |
| 134 | |
| 135 | /* symbol required for defined() preprocessor operator */ |
| 136 | #define TCERR_PP_DEFINED_NO_SYM 10034 |
| 137 | |
| 138 | /* missing ')' in defined() preprocess operator */ |
| 139 | #define TCERR_PP_DEFINED_RPAR 10035 |
| 140 | |
| 141 | /* symbol "%.*s" too long; truncated to "%.*s" */ |
| 142 | #define TCERR_SYMBOL_TRUNCATED 10036 |
| 143 | |
| 144 | /* too many formal parameters defined for macro (maximum %d) */ |
| 145 | #define TCERR_TOO_MANY_MAC_PARMS 10037 |
| 146 | |
| 147 | /* out of memory for string buffer */ |
| 148 | #define TCERR_NO_STRBUF_MEM 10038 |
| 149 | |
| 150 | /* unable to open source file "%.*s" */ |
| 151 | #define TCERR_CANT_OPEN_SRC 10039 |
| 152 | |
| 153 | /* #error - %.*s */ |
| 154 | #define TCERR_ERROR_DIRECTIVE 10040 |
| 155 | |
| 156 | /* out of memory for macro expansion */ |
| 157 | #define TCERR_OUT_OF_MEM_MAC_EXP 10041 |
| 158 | |
| 159 | /* integer value required for line number in #line */ |
| 160 | #define TCERR_LINE_REQ_INT 10042 |
| 161 | |
| 162 | /* string value required for filename in #line */ |
| 163 | #define TCERR_LINE_FILE_REQ_STR 10043 |
| 164 | |
| 165 | /* #if without #endif at line %ld in file %s */ |
| 166 | #define TCERR_IF_WITHOUT_ENDIF 10044 |
| 167 | |
| 168 | /* internal error: unsplicing not from current line */ |
| 169 | #define TCERR_UNSPLICE_NOT_CUR 10045 |
| 170 | |
| 171 | /* internal error: unsplicing more than once in same line */ |
| 172 | #define TCERR_MULTI_UNSPLICE 10046 |
| 173 | |
| 174 | /* #elif not in same file as #if */ |
| 175 | #define TCERR_PP_ELIF_NOT_IN_SAME_FILE 10047 |
| 176 | |
| 177 | /* #else not in same file as #if */ |
| 178 | #define TCERR_PP_ELSE_NOT_IN_SAME_FILE 10048 |
| 179 | |
| 180 | /* #endif not in same file as #if */ |
| 181 | #define TCERR_PP_ENDIF_NOT_IN_SAME_FILE 10049 |
| 182 | |
| 183 | /* cannot #define "defined" - symbol reserved as preprocessor operator */ |
| 184 | #define TCERR_REDEF_OP_DEFINED 10050 |
| 185 | |
| 186 | /* string appears unterminated (';' or '}' appears alone on a line) */ |
| 187 | #define TCERR_POSSIBLE_UNTERM_STR 10051 |
| 188 | |
| 189 | /* source line too long after macro expansion */ |
| 190 | #define TCERR_SRCLINE_TOO_LONG 10052 |
| 191 | |
| 192 | /* invalid character */ |
| 193 | #define TCERR_INVALID_CHAR 10053 |
| 194 | |
| 195 | /* ":" missing in "?" expression */ |
| 196 | #define TCERR_PP_QC_MISSING_COLON 10054 |
| 197 | |
| 198 | /* preprocessor expression is not a constant value */ |
| 199 | #define TCERR_PP_EXPR_NOT_CONST 10055 |
| 200 | |
| 201 | /* unable to load default character set "%s" */ |
| 202 | #define TCERR_CANT_LOAD_DEFAULT_CHARSET 10056 |
| 203 | |
| 204 | /* '...' in macro formal parameter list must be followed by ')' */ |
| 205 | #define TCERR_MACRO_ELLIPSIS_REQ_RPAR 10057 |
| 206 | |
| 207 | /* #foreach nesting too deep */ |
| 208 | #define TCERR_PP_FOREACH_TOO_DEEP 10058 |
| 209 | |
| 210 | /* trailing whitespace after backslash */ |
| 211 | #define TCERR_TRAILING_SP_AFTER_BS 10059 |
| 212 | |
| 213 | /* extraneous characters after #include filename */ |
| 214 | #define TCERR_EXTRA_INC_SYNTAX 10060 |
| 215 | |
| 216 | /* nested comment? */ |
| 217 | #define TCERR_NESTED_COMMENT 10061 |
| 218 | |
| 219 | /* unmappable character */ |
| 220 | #define TCERR_UNMAPPABLE_CHAR 10062 |
| 221 | |
| 222 | /* decimal digit found in octal constant */ |
| 223 | #define TCERR_DECIMAL_IN_OCTAL 10063 |
| 224 | |
| 225 | /* '<>' operator is obsolete */ |
| 226 | #define TCERR_LTGT_OBSOLETE 10064 |
| 227 | |
| 228 | /* integer constant exceeds maximum value (promoting to BigNumber) */ |
| 229 | #define TCERR_INT_CONST_OV 10065 |
| 230 | |
| 231 | /* unrecognized escape sequence \%c in string */ |
| 232 | #define TCERR_BACKSLASH_SEQ 10066 |
| 233 | |
| 234 | /* non-ASCII character in symbol */ |
| 235 | #define TCERR_NON_ASCII_SYMBOL 10067 |
| 236 | |
| 237 | /* embedded expressions in string nested too deeply */ |
| 238 | #define TCERR_EMBEDDING_TOO_DEEP 10068 |
| 239 | |
| 240 | |
| 241 | /* ------------------------------------------------------------------------ */ |
| 242 | /* |
| 243 | * General Messages |
| 244 | */ |
| 245 | |
| 246 | /* internal error explanation */ |
| 247 | #define TCERR_INTERNAL_EXPLAN 10500 |
| 248 | |
| 249 | /* |
| 250 | * internal error - after we log an internal error, we'll throw this |
| 251 | * generic error code; since internal errors are unrecoverable, any |
| 252 | * frames that catch this error should simply clean up and terminate as |
| 253 | * gracefully as possible |
| 254 | */ |
| 255 | #define TCERR_INTERNAL_ERROR 10501 |
| 256 | |
| 257 | /* |
| 258 | * fatal error - after we log a fatal error, we'll throw this generic |
| 259 | * error code; any frames that catch this error should simply clean up |
| 260 | * and terminate |
| 261 | */ |
| 262 | #define TCERR_FATAL_ERROR 10502 |
| 263 | |
| 264 | |
| 265 | /* ------------------------------------------------------------------------ */ |
| 266 | /* |
| 267 | * "Make" errors |
| 268 | */ |
| 269 | |
| 270 | /* cannot create symbol file "%s" */ |
| 271 | #define TCERR_MAKE_CANNOT_CREATE_SYM 10600 |
| 272 | |
| 273 | /* cannot create object file "%s" */ |
| 274 | #define TCERR_MAKE_CANNOT_CREATE_OBJ 10601 |
| 275 | |
| 276 | /* cannot create image file "%s" */ |
| 277 | #define TCERR_MAKE_CANNOT_CREATE_IMG 10602 |
| 278 | |
| 279 | /* cannot open symbol file "%s" for reading */ |
| 280 | #define TCERR_MAKE_CANNOT_OPEN_SYM 10603 |
| 281 | |
| 282 | /* cannot open object file "%s" for reading */ |
| 283 | #define TCERR_MAKE_CANNOT_OPEN_OBJ 10604 |
| 284 | |
| 285 | /* cannot open image file "%s" */ |
| 286 | #define TCERR_MAKE_CANNOT_OPEN_IMG 10605 |
| 287 | |
| 288 | /* maximum error count exceeded */ |
| 289 | #define TCERR_TOO_MANY_ERRORS 10606 |
| 290 | |
| 291 | /* same name used for more than one source module */ |
| 292 | #define TCERR_MODULE_NAME_COLLISION 10607 |
| 293 | |
| 294 | /* same name used for module as for module from a given library */ |
| 295 | #define TCERR_MODULE_NAME_COLLISION_WITH_LIB 10608 |
| 296 | |
| 297 | /* "source-file-name (from library library-name)" */ |
| 298 | #define TCERR_SOURCE_FROM_LIB 10609 |
| 299 | |
| 300 | /* cannot create directory "%s" */ |
| 301 | #define TCERR_CANNOT_CREATE_DIR 10610 |
| 302 | |
| 303 | |
| 304 | /* ------------------------------------------------------------------------ */ |
| 305 | /* |
| 306 | * Parsing Errors |
| 307 | */ |
| 308 | |
| 309 | /* divide by zero in constant expression */ |
| 310 | #define TCERR_CONST_DIV_ZERO 11001 |
| 311 | |
| 312 | /* out of memory for parse tree block */ |
| 313 | #define TCERR_NO_MEM_PRS_TREE 11002 |
| 314 | |
| 315 | /* parse tree node too large (size = %ld) (internal error) */ |
| 316 | #define TCERR_PRS_BLK_TOO_BIG 11003 |
| 317 | |
| 318 | /* invalid lvalue (operator "%s") */ |
| 319 | #define TCERR_INVALID_LVALUE 11004 |
| 320 | |
| 321 | /* expected ':' in '?' operator expression */ |
| 322 | #define TCERR_QUEST_WITHOUT_COLON 11005 |
| 323 | |
| 324 | /* invalid lvalue for unary operator (++ or --) */ |
| 325 | #define TCERR_INVALID_UNARY_LVALUE 11006 |
| 326 | |
| 327 | /* operator delete is obsolete */ |
| 328 | #define TCERR_DELETE_OBSOLETE 11007 |
| 329 | |
| 330 | /* can't take address of expression */ |
| 331 | #define TCERR_NO_ADDRESS 11008 |
| 332 | |
| 333 | /* invalid constant type for unary '%s': number required */ |
| 334 | #define TCERR_CONST_UNARY_REQ_NUM 11009 |
| 335 | |
| 336 | /* invalid constant type for binary '%s': number required */ |
| 337 | #define TCERR_CONST_BINARY_REQ_NUM 11010 |
| 338 | |
| 339 | /* incompatible constant types for '+' operator */ |
| 340 | #define TCERR_CONST_BINPLUS_INCOMPAT 11011 |
| 341 | |
| 342 | /* missing ')' in expression */ |
| 343 | #define TCERR_EXPR_MISSING_RPAR 11012 |
| 344 | |
| 345 | /* invalid primary expression */ |
| 346 | #define TCERR_BAD_PRIMARY_EXPR 11013 |
| 347 | |
| 348 | /* constant types are not comparable */ |
| 349 | #define TCERR_CONST_BAD_COMPARE 11014 |
| 350 | |
| 351 | /* expected ';', found "%.*s" */ |
| 352 | #define TCERR_EXPECTED_SEMI 11015 |
| 353 | |
| 354 | /* expected ">>" and the continuation of the string, found "%.*s" */ |
| 355 | #define TCERR_EXPECTED_STR_CONT 11016 |
| 356 | |
| 357 | /* expected ',' in argument list, found "%.*s" */ |
| 358 | #define TCERR_EXPECTED_ARG_COMMA 11017 |
| 359 | |
| 360 | /* expected ']' in subscript, found "%.*s" */ |
| 361 | #define TCERR_EXPECTED_SUB_RBRACK 11018 |
| 362 | |
| 363 | /* invalid expression after '.' - property name or expression required */ |
| 364 | #define TCERR_INVALID_PROP_EXPR 11019 |
| 365 | |
| 366 | /* found "%.*s" in list, assuming that list is missing ']' */ |
| 367 | #define TCERR_LIST_MISSING_RBRACK 11020 |
| 368 | |
| 369 | /* extraneous ')' in list */ |
| 370 | #define TCERR_LIST_EXTRA_RPAR 11021 |
| 371 | |
| 372 | /* expected ',' separating list elements, but found "%.*s" */ |
| 373 | #define TCERR_LIST_EXPECT_COMMA 11022 |
| 374 | |
| 375 | /* constant list index value must be an integer value */ |
| 376 | #define TCERR_CONST_IDX_NOT_INT 11023 |
| 377 | |
| 378 | /* constant list index out of range */ |
| 379 | #define TCERR_CONST_IDX_RANGE 11024 |
| 380 | |
| 381 | /* unterminated string (string started with %c%*.s%c) */ |
| 382 | #define TCERR_UNTERM_STRING 11025 |
| 383 | |
| 384 | /* missing ')' in argument list */ |
| 385 | #define TCERR_EXPECTED_ARG_RPAR 11026 |
| 386 | |
| 387 | /* extra ')' - ignoring */ |
| 388 | #define TCERR_EXTRA_RPAR 11027 |
| 389 | |
| 390 | /* extra ']' - ignoring */ |
| 391 | #define TCERR_EXTRA_RBRACK 11028 |
| 392 | |
| 393 | /* expected operand, found '%s' */ |
| 394 | #define TCERR_EXPECTED_OPERAND 11029 |
| 395 | |
| 396 | /* expected property name pattern string after 'propertyset', found "%.*s" */ |
| 397 | #define TCERR_PROPSET_REQ_STR 11030 |
| 398 | |
| 399 | /* invalid "inherited class" syntax - expected '.', found "%.*s" */ |
| 400 | #define TCERR_INH_CLASS_SYNTAX 11031 |
| 401 | |
| 402 | /* undefined symbol "%.*s" */ |
| 403 | #define TCERR_UNDEF_SYM 11032 |
| 404 | |
| 405 | /* undefined symbol "%.*s" - assuming that it's a property */ |
| 406 | #define TCERR_ASSUME_SYM_PROP 11033 |
| 407 | |
| 408 | /* incompatible constant types for '-' operator */ |
| 409 | #define TCERR_CONST_BINMINUS_INCOMPAT 11034 |
| 410 | |
| 411 | /* expected a symbol in formal parameter list, found "%.*s" */ |
| 412 | #define TCERR_REQ_SYM_FORMAL 11035 |
| 413 | |
| 414 | /* expected a comma in formal parameter list, found "%.*s" */ |
| 415 | #define TCERR_REQ_COMMA_FORMAL 11036 |
| 416 | |
| 417 | /* missing parameter at end of formal parameter list */ |
| 418 | #define TCERR_MISSING_LAST_FORMAL 11037 |
| 419 | |
| 420 | /* missing right paren at end of formal parameter list (found "%.*s") */ |
| 421 | #define TCERR_MISSING_RPAR_FORMAL 11038 |
| 422 | |
| 423 | /* formal parameter "%.*s" defined more than once */ |
| 424 | #define TCERR_FORMAL_REDEF 11039 |
| 425 | |
| 426 | /* '=' in method definition is obsolete */ |
| 427 | #define TCERR_EQ_WITH_METHOD_OBSOLETE 11040 |
| 428 | |
| 429 | /* '{' required at the start of code body - found "%.*s" */ |
| 430 | #define TCERR_REQ_LBRACE_CODE 11041 |
| 431 | |
| 432 | /* unexpected end of file - '}' required */ |
| 433 | #define TCERR_EOF_IN_CODE 11042 |
| 434 | |
| 435 | /* expected '(' after 'if', but found "%.*s" */ |
| 436 | #define TCERR_REQ_LPAR_IF 11043 |
| 437 | |
| 438 | /* misplaced 'else' */ |
| 439 | #define TCERR_MISPLACED_ELSE 11044 |
| 440 | |
| 441 | /* misplaced 'case' */ |
| 442 | #define TCERR_MISPLACED_CASE 11045 |
| 443 | |
| 444 | /* misplaced 'default' */ |
| 445 | #define TCERR_MISPLACED_DEFAULT 11046 |
| 446 | |
| 447 | /* ellipsis must be the last formal parameter */ |
| 448 | #define TCERR_ELLIPSIS_NOT_LAST 11047 |
| 449 | |
| 450 | /* expected ',' or ';' after symbol, but found "%.*s" */ |
| 451 | #define TCERR_LOCAL_REQ_COMMA 11048 |
| 452 | |
| 453 | /* expected symbol name in local variable definition, but found "%.*s" */ |
| 454 | #define TCERR_LOCAL_REQ_SYM 11049 |
| 455 | |
| 456 | /* expected symbol name in function defintion */ |
| 457 | #define TCERR_FUNC_REQ_SYM 11050 |
| 458 | |
| 459 | /* expected code body */ |
| 460 | #define TCERR_REQ_CODE_BODY 11051 |
| 461 | |
| 462 | /* expected function or object definition */ |
| 463 | #define TCERR_REQ_FUNC_OR_OBJ 11052 |
| 464 | |
| 465 | /* expected ';' or expression after 'return', but found "%.*s" */ |
| 466 | #define TCERR_RET_REQ_EXPR 11053 |
| 467 | |
| 468 | /* unreachable code */ |
| 469 | #define TCERR_UNREACHABLE_CODE 11054 |
| 470 | |
| 471 | /* code has 'return' statements both with and without values */ |
| 472 | #define TCERR_RET_VAL_AND_VOID 11055 |
| 473 | |
| 474 | /* code has value returns but also falls off end */ |
| 475 | #define TCERR_RET_VAL_AND_IMP_VOID 11056 |
| 476 | |
| 477 | /* function set name expected after 'intrinsic' keyword, but found "%.*s" */ |
| 478 | #define TCERR_REQ_INTRINS_NAME 11057 |
| 479 | |
| 480 | /* open brace required ater intrinsic function set name */ |
| 481 | #define TCERR_REQ_INTRINS_LBRACE 11058 |
| 482 | |
| 483 | /* end of file in 'intrinsic' function set list */ |
| 484 | #define TCERR_EOF_IN_INTRINS 11059 |
| 485 | |
| 486 | /* missing open paren after function name in 'instrinsic' - found "%.*s" */ |
| 487 | #define TCERR_REQ_INTRINS_LPAR 11060 |
| 488 | |
| 489 | /* expected function name in 'intrinsic' list, but found "%.*s" */ |
| 490 | #define TCERR_REQ_INTRINS_SYM 11061 |
| 491 | |
| 492 | /* expected '(' after 'for', but found "%.*s" */ |
| 493 | #define TCERR_REQ_FOR_LPAR 11062 |
| 494 | |
| 495 | /* local variable "%.*s" is already defined in this scope */ |
| 496 | #define TCERR_LOCAL_REDEF 11063 |
| 497 | |
| 498 | /* initializer is required for "local" in "for" - found "%.*s" */ |
| 499 | #define TCERR_REQ_FOR_LOCAL_INIT 11064 |
| 500 | |
| 501 | /* missing expression after ',' in "for" initializer */ |
| 502 | #define TCERR_MISSING_FOR_INIT_EXPR 11065 |
| 503 | |
| 504 | /* missing expression in "for" statement */ |
| 505 | #define TCERR_MISSING_FOR_PART 11066 |
| 506 | |
| 507 | /* ',' or ';' expected in "for" initializer, but found "%.*s" */ |
| 508 | #define TCERR_REQ_FOR_INIT_COMMA 11067 |
| 509 | |
| 510 | /* ';' expected in "for" after condition expression, but found "%.*s" */ |
| 511 | #define TCERR_REQ_FOR_COND_SEM 11068 |
| 512 | |
| 513 | /* missing ')' at end of 'for' statement expression list */ |
| 514 | #define TCERR_REQ_FOR_RPAR 11069 |
| 515 | |
| 516 | /* "for" condition is always false - reinitializer and body are unreachable */ |
| 517 | #define TCERR_FOR_COND_FALSE 11070 |
| 518 | |
| 519 | /* '(' missing after 'while' - found "%.*s" instead */ |
| 520 | #define TCERR_REQ_WHILE_LPAR 11071 |
| 521 | |
| 522 | /* ')' missing at end of 'while' expression - found "%.*s" instead */ |
| 523 | #define TCERR_REQ_WHILE_RPAR 11072 |
| 524 | |
| 525 | /* "while" condition is always false - body is unreachable */ |
| 526 | #define TCERR_WHILE_COND_FALSE 11073 |
| 527 | |
| 528 | /* "while" missing in "do" statement (found "%.*s" instead) */ |
| 529 | #define TCERR_REQ_DO_WHILE 11074 |
| 530 | |
| 531 | /* misplaced "catch" - not part of "try" */ |
| 532 | #define TCERR_MISPLACED_CATCH 11075 |
| 533 | |
| 534 | /* misplaced "finally" - not part of "try" */ |
| 535 | #define TCERR_MISPLACED_FINALLY 11076 |
| 536 | |
| 537 | /* '(' missing after 'switch' - found "%.*s" instead */ |
| 538 | #define TCERR_REQ_SWITCH_LPAR 11077 |
| 539 | |
| 540 | /* ')' missing at end of 'switch' expression - found "%.*s" instead */ |
| 541 | #define TCERR_REQ_SWITCH_RPAR 11078 |
| 542 | |
| 543 | /* '{' missing after 'switch' expression - found "%.*s" instead */ |
| 544 | #define TCERR_REQ_SWITCH_LBRACE 11079 |
| 545 | |
| 546 | /* code preceding first 'case' or 'default' label in switch is not allowed */ |
| 547 | #define TCERR_UNREACHABLE_CODE_IN_SWITCH 11080 |
| 548 | |
| 549 | /* end of file in switch body */ |
| 550 | #define TCERR_EOF_IN_SWITCH 11081 |
| 551 | |
| 552 | /* duplicate code label "%.*s" */ |
| 553 | #define TCERR_CODE_LABEL_REDEF 11082 |
| 554 | |
| 555 | /* ':' missing after 'case' expression - found "%.*s" instead */ |
| 556 | #define TCERR_REQ_CASE_COLON 11083 |
| 557 | |
| 558 | /* 'case' expression has a non-constant value */ |
| 559 | #define TCERR_CASE_NOT_CONSTANT 11084 |
| 560 | |
| 561 | /* ':' missing after 'default' - found "%.*s" instead */ |
| 562 | #define TCERR_REQ_DEFAULT_COLON 11085 |
| 563 | |
| 564 | /* switch already has 'default' label */ |
| 565 | #define TCERR_DEFAULT_REDEF 11086 |
| 566 | |
| 567 | /* 'try' has no 'catch' or 'finally' clauses */ |
| 568 | #define TCERR_TRY_WITHOUT_CATCH 11087 |
| 569 | |
| 570 | /* '(' required after 'catch' - found "%.*s" instead */ |
| 571 | #define TCERR_REQ_CATCH_LPAR 11088 |
| 572 | |
| 573 | /* ')' required after 'catch' variable name - found "%.*s" instead */ |
| 574 | #define TCERR_REQ_CATCH_RPAR 11089 |
| 575 | |
| 576 | /* exception class name symbol required in 'catch' - found "%.*s" instead */ |
| 577 | #define TCERR_REQ_CATCH_CLASS 11090 |
| 578 | |
| 579 | /* variable name symbol required in 'catch' - found "%.*s" instead */ |
| 580 | #define TCERR_REQ_CATCH_VAR 11091 |
| 581 | |
| 582 | /* 'catch' target variable "%.*s" is not a local variable */ |
| 583 | #define TCERR_CATCH_VAR_NOT_LOCAL 11092 |
| 584 | |
| 585 | /* label expected after 'break' - found "%.*s" */ |
| 586 | #define TCERR_BREAK_REQ_LABEL 11093 |
| 587 | |
| 588 | /* label expected after 'continue' - found "%.*s" */ |
| 589 | #define TCERR_CONT_REQ_LABEL 11094 |
| 590 | |
| 591 | /* label expected after 'goto' - found "%.*s" */ |
| 592 | #define TCERR_GOTO_REQ_LABEL 11095 |
| 593 | |
| 594 | /* symbol "%.*s" is already defined - can't use as a new function name */ |
| 595 | #define TCERR_REDEF_AS_FUNC 11096 |
| 596 | |
| 597 | /* expected 'function' or 'object' after 'extern', but found '%.*s' */ |
| 598 | #define TCERR_INVAL_EXTERN 11097 |
| 599 | |
| 600 | /* code body is not allowed in an 'extern function' definition */ |
| 601 | #define TCERR_EXTERN_NO_CODE_BODY 11098 |
| 602 | |
| 603 | /* function "%.*s" is already defined */ |
| 604 | #define TCERR_FUNC_REDEF 11099 |
| 605 | |
| 606 | /* function "%.*s" has a previous incompatible definition */ |
| 607 | #define TCERR_INCOMPAT_FUNC_REDEF 11100 |
| 608 | |
| 609 | /* expected ':' in object definition after object name, but found "%.*s" */ |
| 610 | #define TCERR_OBJDEF_REQ_COLON 11101 |
| 611 | |
| 612 | /* expected superclass name in object definition, but found "%.*s" */ |
| 613 | #define TCERR_OBJDEF_REQ_SC 11102 |
| 614 | |
| 615 | /* superclasses cannot be specified with 'object' as the base class */ |
| 616 | #define TCERR_OBJDEF_OBJ_NO_SC 11103 |
| 617 | |
| 618 | /* symbol "%.*s" is already defined - can't redefine as an object */ |
| 619 | #define TCERR_REDEF_AS_OBJ 11104 |
| 620 | |
| 621 | /* object "%.*s" is already defined */ |
| 622 | #define TCERR_OBJ_REDEF 11105 |
| 623 | |
| 624 | /* expected property name in definition of object "%.*s", but found "%.*s" */ |
| 625 | #define TCERR_OBJDEF_REQ_PROP 11106 |
| 626 | |
| 627 | /* redefining symbol "%.*s" as property */ |
| 628 | #define TCERR_REDEF_AS_PROP 11107 |
| 629 | |
| 630 | /* expected prop value or method after property name %.*s, but found %.*s */ |
| 631 | #define TCERR_OBJDEF_REQ_PROPVAL 11108 |
| 632 | |
| 633 | /* expected 'function' or object name after 'replace', but found '%.*s' */ |
| 634 | #define TCERR_REPLACE_REQ_OBJ_OR_FUNC 11109 |
| 635 | |
| 636 | /* replace/modify cannot be used with an undefined object */ |
| 637 | #define TCERR_REPMODOBJ_UNDEF 11110 |
| 638 | |
| 639 | /* double-quoted strings cannot be used within expressions */ |
| 640 | #define TCERR_DQUOTE_IN_EXPR 11111 |
| 641 | |
| 642 | /* assignment in condition (possible use of '=' where '==' was intended) */ |
| 643 | #define TCERR_ASI_IN_COND 11112 |
| 644 | |
| 645 | /* replace/modify cannot be used with an undefined function */ |
| 646 | #define TCERR_REPFUNC_UNDEF 11113 |
| 647 | |
| 648 | /* 'replace' can only be applied to a property in a 'modify' object */ |
| 649 | #define TCERR_REPLACE_PROP_REQ_MOD_OBJ 11114 |
| 650 | |
| 651 | /* expected object name symbol in 'extern' but found "%.*s" */ |
| 652 | #define TCERR_EXTERN_OBJ_REQ_SYM 11115 |
| 653 | |
| 654 | /* property "%.*s" is already defined in object "%.*s" */ |
| 655 | #define TCERR_PROP_REDEF_IN_OBJ 11116 |
| 656 | |
| 657 | /* '=' required between property name and value - found "%.*s" */ |
| 658 | #define TCERR_PROP_REQ_EQ 11117 |
| 659 | |
| 660 | /* extra list element expected after comma, but found end of list */ |
| 661 | #define TCERR_LIST_EXPECT_ELEMENT 11118 |
| 662 | |
| 663 | /* expected class name string after name string but found "%.*s" */ |
| 664 | #define TCERR_REQ_INTRINS_CLASS_NAME 11119 |
| 665 | |
| 666 | /* open brace required ater intrinsic class name */ |
| 667 | #define TCERR_REQ_INTRINS_CLASS_LBRACE 11120 |
| 668 | |
| 669 | /* end of file in 'intrinsic class' property list */ |
| 670 | #define TCERR_EOF_IN_INTRINS_CLASS 11121 |
| 671 | |
| 672 | /* expected property name in 'intrinsic class' list, but found "%.*s" */ |
| 673 | #define TCERR_REQ_INTRINS_CLASS_PROP 11122 |
| 674 | |
| 675 | /* expected class name symbol after 'intrinsic class' but found "%.*s" */ |
| 676 | #define TCERR_REQ_INTRINS_CLASS_NAME_SYM 11123 |
| 677 | |
| 678 | /* redefining symbol "%.*s" as a metaclass name */ |
| 679 | #define TCERR_REDEF_INTRINS_NAME 11124 |
| 680 | |
| 681 | /* cannot evaluate metaclass symbol */ |
| 682 | #define TCERR_CANNOT_EVAL_METACLASS 11125 |
| 683 | |
| 684 | /* expected 'property' or object name after 'dictionary', but found "%.*s" */ |
| 685 | #define TCERR_DICT_SYNTAX 11126 |
| 686 | |
| 687 | /* expected property name in 'dictionary property' list, but found "%.*s" */ |
| 688 | #define TCERR_DICT_PROP_REQ_SYM 11127 |
| 689 | |
| 690 | /* expected comma in 'dictionary property' list, but found "%.*s" */ |
| 691 | #define TCERR_DICT_PROP_REQ_COMMA 11128 |
| 692 | |
| 693 | /* redefining object "%.*s" as dictionary */ |
| 694 | #define TCERR_REDEF_AS_DICT 11129 |
| 695 | |
| 696 | /* undefined symbol "%.*s" (used as superclass of "%.*s") */ |
| 697 | #define TCERR_UNDEF_SYM_SC 11130 |
| 698 | |
| 699 | /* vocabulary property requires one or more single-quoted string values */ |
| 700 | #define TCERR_VOCAB_REQ_SSTR 11131 |
| 701 | |
| 702 | /* vocabulary property cannot be used without a dictionary */ |
| 703 | #define TCERR_VOCAB_NO_DICT 11132 |
| 704 | |
| 705 | /* list varargs parameter not last */ |
| 706 | #define TCERR_LISTPAR_NOT_LAST 11133 |
| 707 | |
| 708 | /* expected ']' after list varargs parameter name, found "%.*s" */ |
| 709 | #define TCERR_LISTPAR_REQ_RBRACK 11134 |
| 710 | |
| 711 | /* expected list varargs parameter name, but found "%.*s" */ |
| 712 | #define TCERR_LISTPAR_REQ_SYM 11135 |
| 713 | |
| 714 | /* anonymous functions are not allowed in the debugger */ |
| 715 | #define TCERR_DBG_NO_ANON_FUNC 11136 |
| 716 | |
| 717 | /* anonymous function requires 'new' */ |
| 718 | #define TCERR_ANON_FUNC_REQ_NEW 11137 |
| 719 | |
| 720 | /* expected production name after 'grammar' */ |
| 721 | #define TCERR_GRAMMAR_REQ_SYM 11138 |
| 722 | |
| 723 | /* expected colon after production name in 'grammar' statement */ |
| 724 | #define TCERR_GRAMMAR_REQ_COLON 11139 |
| 725 | |
| 726 | /* expected object or property name in 'grammar' token list, found "%.*s" */ |
| 727 | #define TCERR_GRAMMAR_REQ_OBJ_OR_PROP 11140 |
| 728 | |
| 729 | /* property name must follow '->' in 'grammar' statement, found "%.*s" */ |
| 730 | #define TCERR_GRAMMAR_ARROW_REQ_PROP 11141 |
| 731 | |
| 732 | /* invalid token list entry "%.*s" */ |
| 733 | #define TCERR_GRAMMAR_INVAL_TOK 11142 |
| 734 | |
| 735 | /* redefining object "%.*s" as grammar production */ |
| 736 | #define TCERR_REDEF_AS_GRAMPROD 11143 |
| 737 | |
| 738 | /* object "%.*s" is not valid in a grammar list (only productions allowed) */ |
| 739 | #define TCERR_GRAMMAR_REQ_PROD 11144 |
| 740 | |
| 741 | /* symbol expected in enum list, but found "%.*s" */ |
| 742 | #define TCERR_ENUM_REQ_SYM 11145 |
| 743 | |
| 744 | /* symbol "%.*s" is already defined - can't use as an enum name */ |
| 745 | #define TCERR_REDEF_AS_ENUM 11146 |
| 746 | |
| 747 | /* comma expected in 'enum' symbol list, but found "%.*s" */ |
| 748 | #define TCERR_ENUM_REQ_COMMA 11147 |
| 749 | |
| 750 | /* enumerator "%.*s" in 'grammar' list must be declare with 'enum token' */ |
| 751 | #define TCERR_GRAMMAR_BAD_ENUM 11148 |
| 752 | |
| 753 | /* '*' must be the last token in a 'grammar' alt list - found "%.*s" */ |
| 754 | #define TCERR_GRAMMAR_STAR_NOT_END 11149 |
| 755 | |
| 756 | /* grammar qualifiers must precede all tokens in the alternative */ |
| 757 | #define TCERR_GRAMMAR_QUAL_NOT_FIRST 11150 |
| 758 | |
| 759 | /* symbol required in grammar qualifier - found "%.*s" */ |
| 760 | #define TCERR_GRAMMAR_QUAL_REQ_SYM 11151 |
| 761 | |
| 762 | /* invalid grammar qualifier "%.*s" */ |
| 763 | #define TCERR_BAD_GRAMMAR_QUAL 11152 |
| 764 | |
| 765 | /* integer constant required for grammar qualifier "%s" */ |
| 766 | #define TCERR_GRAMMAR_QUAL_REQ_INT 11153 |
| 767 | |
| 768 | /* ']' required at end of grammar qualifier - found "%.*s" */ |
| 769 | #define TCERR_GRAMMAR_QUAL_REQ_RBRACK 11154 |
| 770 | |
| 771 | /* '+ property' statement requires symbol, found "%.*s" instead */ |
| 772 | #define TCERR_PLUSPROP_REQ_SYM 11155 |
| 773 | |
| 774 | /* too many '+' signs - location is not defined */ |
| 775 | #define TCERR_PLUSOBJ_TOO_MANY 11156 |
| 776 | |
| 777 | /* property name required after "%s" in object template, but found "%.*s" */ |
| 778 | #define TCERR_OBJ_TPL_OP_REQ_PROP 11157 |
| 779 | |
| 780 | /* property name required in string in object template, but found "%.*s" */ |
| 781 | #define TCERR_OBJ_TPL_STR_REQ_PROP 11158 |
| 782 | |
| 783 | /* ']' required after list property in object template, found "%.*s" */ |
| 784 | #define TCERR_OBJ_TPL_REQ_RBRACK 11159 |
| 785 | |
| 786 | /* invalid 'object template' syntax - "%.*s" */ |
| 787 | #define TCERR_OBJ_TPL_BAD_TOK 11160 |
| 788 | |
| 789 | /* symbol \"%.*s\" in object template is not a property */ |
| 790 | #define TCERR_OBJ_TPL_SYM_NOT_PROP 11161 |
| 791 | |
| 792 | /* object definition does not match any object template */ |
| 793 | #define TCERR_OBJ_DEF_NO_TEMPLATE 11162 |
| 794 | |
| 795 | /* dictionary properties are not valid in object templates */ |
| 796 | #define TCERR_OBJ_TPL_NO_VOCAB 11163 |
| 797 | |
| 798 | /* property duplicated in template list */ |
| 799 | #define TCERR_OBJ_TPL_PROP_DUP 11164 |
| 800 | |
| 801 | /* metaclass is already defined as intrinsic class "%.*s" */ |
| 802 | #define TCERR_META_ALREADY_DEF 11165 |
| 803 | |
| 804 | /* missing ';' at end of object definition - found "%.*s" */ |
| 805 | #define TCERR_OBJ_DEF_REQ_SEM 11166 |
| 806 | |
| 807 | /* expected a statement, but found "%.*s" */ |
| 808 | #define TCERR_EXPECTED_STMT_START 11167 |
| 809 | |
| 810 | /* missing colon at end of short anonymous function formals - found "%.*s" */ |
| 811 | #define TCERR_MISSING_COLON_FORMAL 11168 |
| 812 | |
| 813 | /* semicolon is not allowed in a short anonymous function */ |
| 814 | #define TCERR_SEM_IN_SHORT_ANON_FN 11169 |
| 815 | |
| 816 | /* close brace missing at end of anonymous function */ |
| 817 | #define TCERR_SHORT_ANON_FN_REQ_RBRACE 11170 |
| 818 | |
| 819 | /* '(' required after 'in' operator */ |
| 820 | #define TCERR_IN_REQ_LPAR 11171 |
| 821 | |
| 822 | /* expected comma in 'in' list */ |
| 823 | #define TCERR_EXPECTED_IN_COMMA 11172 |
| 824 | |
| 825 | /* missing ')' at end of 'in' list */ |
| 826 | #define TCERR_EXPECTED_IN_RPAR 11173 |
| 827 | |
| 828 | /* cannot modify or replace objects of this type */ |
| 829 | #define TCERR_CANNOT_MOD_OR_REP_TYPE 11174 |
| 830 | |
| 831 | /* expected '(' after 'foreach', but found "%.*s" */ |
| 832 | #define TCERR_REQ_FOREACH_LPAR 11175 |
| 833 | |
| 834 | /* missing expression in 'foreach' - found "%.*s" */ |
| 835 | #define TCERR_MISSING_FOREACH_EXPR 11176 |
| 836 | |
| 837 | /* 'in' required in 'foreach' - found "%.*s" */ |
| 838 | #define TCERR_FOREACH_REQ_IN 11177 |
| 839 | |
| 840 | /* missing ')' at end of 'for' statement expression list */ |
| 841 | #define TCERR_REQ_FOREACH_RPAR 11178 |
| 842 | |
| 843 | /* property declaration requires symbol, but found "%.*s" */ |
| 844 | #define TCERR_PROPDECL_REQ_SYM 11179 |
| 845 | |
| 846 | /* property declaration requires comma, but found "%.*s" */ |
| 847 | #define TCERR_PROPDECL_REQ_COMMA 11180 |
| 848 | |
| 849 | /* expected symbol in 'export' statement, but found "%.*s" */ |
| 850 | #define TCERR_EXPORT_REQ_SYM 11181 |
| 851 | |
| 852 | /* external name "%.*s" too long in 'export' statement */ |
| 853 | #define TCERR_EXPORT_EXT_TOO_LONG 11182 |
| 854 | |
| 855 | /* unterminated object definition */ |
| 856 | #define TCERR_UNTERM_OBJ_DEF 11183 |
| 857 | |
| 858 | /* missing right brace at end of object definition - found "%.*s" */ |
| 859 | #define TCERR_OBJ_DEF_REQ_RBRACE 11184 |
| 860 | |
| 861 | /* right paren required after name-tag in 'grammar' - found "%.*s" */ |
| 862 | #define TCERR_GRAMMAR_REQ_NAME_RPAR 11185 |
| 863 | |
| 864 | /* open brace required for propertyset - found "%.*s" */ |
| 865 | #define TCERR_PROPSET_REQ_LBRACE 11186 |
| 866 | |
| 867 | /* right paren expected at end of group - found "%.*s" */ |
| 868 | #define TCERR_GRAMMAR_REQ_RPAR_AFTER_GROUP 11187 |
| 869 | |
| 870 | /* '->' not allowed after parenthesized group in 'grammar' statement */ |
| 871 | #define TCERR_GRAMMAR_GROUP_ARROW_NOT_ALLOWED 11188 |
| 872 | |
| 873 | /* cannot use template with unimported extern class as superclass */ |
| 874 | #define TCERR_OBJ_DEF_CANNOT_USE_TEMPLATE 11189 |
| 875 | |
| 876 | /* superclass list missing for 'replace' object definition */ |
| 877 | #define TCERR_REPLACE_OBJ_REQ_SC 11190 |
| 878 | |
| 879 | /* propertyset nesting too deep */ |
| 880 | #define TCERR_PROPSET_TOO_DEEP 11191 |
| 881 | |
| 882 | /* propertyset token expansion too large */ |
| 883 | #define TCERR_PROPSET_TOK_TOO_LONG 11192 |
| 884 | |
| 885 | /* invalid pattern string for propertyset - "%.*s" */ |
| 886 | #define TCERR_PROPSET_INVAL_PAT 11193 |
| 887 | |
| 888 | /* invalid propertyset formal parameter list */ |
| 889 | #define TCERR_PROPSET_INVAL_FORMALS 11194 |
| 890 | |
| 891 | /* circular class definition - "%.*s" is a subclass of "%.*s" */ |
| 892 | #define TCERR_CIRCULAR_CLASS_DEF 11195 |
| 893 | |
| 894 | /* property required in part-of-speech list in 'grammar', but found "%.*s" */ |
| 895 | #define TCERR_GRAMMAR_LIST_REQ_PROP 11196 |
| 896 | |
| 897 | /* missing '>' in 'grammar' property list - found "%.*s" */ |
| 898 | #define TCERR_GRAMMAR_LIST_UNCLOSED 11197 |
| 899 | |
| 900 | /* invalid indexed type in constant expression (expected list) */ |
| 901 | #define TCERR_CONST_IDX_INV_TYPE 11198 |
| 902 | |
| 903 | /* 'transient' is not allowed here (expected object definition) */ |
| 904 | #define TCERR_INVAL_TRANSIENT 11199 |
| 905 | |
| 906 | /* 'modify/replace grammar' can only be applied to tagged rule name */ |
| 907 | #define TCERR_GRAMMAR_MOD_REQ_TAG 11200 |
| 908 | |
| 909 | /* intrinsic superclass name expected after colon, but found "%.*s" */ |
| 910 | #define TCERR_REQ_INTRINS_SUPERCLASS_NAME 11201 |
| 911 | |
| 912 | /* intrinsic superclass "%.*s" undefined */ |
| 913 | #define TCERR_INTRINS_SUPERCLASS_UNDEF 11202 |
| 914 | |
| 915 | /* grammar rule ends with '|' */ |
| 916 | #define TCERR_GRAMMAR_ENDS_WITH_OR 11203 |
| 917 | |
| 918 | /* grammar rule is completely empty */ |
| 919 | #define TCERR_GRAMMAR_EMPTY 11204 |
| 920 | |
| 921 | /* empty template definition */ |
| 922 | #define TCERR_TEMPLATE_EMPTY 11205 |
| 923 | |
| 924 | /* expected ')' after 'if' condition, but found "%.*s" */ |
| 925 | #define TCERR_REQ_RPAR_IF 11206 |
| 926 | |
| 927 | /* intrinsic class superclass "%.*s" is not an intrinsic class */ |
| 928 | #define TCERR_INTRINS_SUPERCLASS_NOT_INTRINS 11207 |
| 929 | |
| 930 | /* function redefined as multimethod */ |
| 931 | #define TCERR_FUNC_REDEF_AS_MULTIMETHOD 11208 |
| 932 | |
| 933 | /* "multimethod" declaration not allowed in this context */ |
| 934 | #define TCERR_MULTIMETHOD_NOT_ALLOWED 11209 |
| 935 | |
| 936 | /* multi-method parameter type %.*s is not an object */ |
| 937 | #define TCERR_MMPARAM_NOT_OBJECT 11210 |
| 938 | |
| 939 | /* type name missing in inherited<> type list */ |
| 940 | #define TCERR_MMINH_MISSING_ARG_TYPE 11211 |
| 941 | |
| 942 | /* comma is missing in inherited<> type list */ |
| 943 | #define TCERR_MMINH_MISSING_COMMA 11212 |
| 944 | |
| 945 | /* '>' is missing at end of inherited<> type list */ |
| 946 | #define TCERR_MMINH_MISSING_GT 11213 |
| 947 | |
| 948 | /* argument list is missing after inherited<> */ |
| 949 | #define TCERR_MMINH_MISSING_ARG_LIST 11214 |
| 950 | |
| 951 | /* "..." cannot be used with a named argument value */ |
| 952 | #define TCERR_NAMED_ARG_NO_ELLIPSIS 11215 |
| 953 | |
| 954 | /* argument %.*s must be optional */ |
| 955 | #define TCERR_ARG_MUST_BE_OPT 11216 |
| 956 | |
| 957 | /* named argument '%.*s' has a type - named arguments can't be typed */ |
| 958 | #define TCERR_NAMED_ARG_NO_TYPE 11217 |
| 959 | |
| 960 | /* expected -> instead of ',' after %dth element in LookupTable list */ |
| 961 | #define TCERR_LOOKUP_LIST_EXPECTED_ARROW 11218 |
| 962 | |
| 963 | /* found -> in a list that appeared to be an ordinary list */ |
| 964 | #define TCERR_ARROW_IN_LIST 11219 |
| 965 | |
| 966 | /* misplaced -> in a LookupTable list after %dth element */ |
| 967 | #define TCERR_MISPLACED_ARROW_IN_LIST 11220 |
| 968 | |
| 969 | /* expected end of list after default value */ |
| 970 | #define TCERR_LOOKUP_LIST_EXPECTED_END_AT_DEF 11221 |
| 971 | |
| 972 | /* 'operator' not valid within a 'propertyset' */ |
| 973 | #define TCERR_OPER_IN_PROPSET 11222 |
| 974 | |
| 975 | /* expected ']' in 'operator []' */ |
| 976 | #define TCERR_EXPECTED_RBRACK_IN_OP 11223 |
| 977 | |
| 978 | /* invalid operator overloading */ |
| 979 | #define TCERR_BAD_OP_OVERLOAD 11224 |
| 980 | |
| 981 | /* wrong number of arguments for overloaded operator */ |
| 982 | #define TCERR_OP_OVERLOAD_WRONG_FORMALS 11225 |
| 983 | |
| 984 | /* can't define new global symbols at run-time */ |
| 985 | #define TCERR_RT_CANNOT_DEFINE_GLOBALS 11226 |
| 986 | |
| 987 | /* 'for..in' variable %.*s is not defined as a local variable */ |
| 988 | #define TCERR_FOR_IN_NOT_LOCAL 11227 |
| 989 | |
| 990 | /* |
| 991 | * unexpected '%.*s' in << >> expression in string (mismatched 'end', |
| 992 | * 'else', 'default', etc) |
| 993 | */ |
| 994 | #define TCERR_BAD_EMBED_END_TOK 11228 |
| 995 | |
| 996 | /* expected << at start of string template found '%.*s' */ |
| 997 | #define TCERR_STRTPL_MISSING_LANGLE 11229 |
| 998 | |
| 999 | /* expected >> at end of string template, found '%.*s' */ |
| 1000 | #define TCERR_STRTPL_MISSING_RANGLE 11230 |
| 1001 | |
| 1002 | /* only one '*' is allowed in a string template */ |
| 1003 | #define TCERR_STRTPL_MULTI_STAR 11231 |
| 1004 | |
| 1005 | /* |
| 1006 | * wrong prototype for string template processor function %.*s - expected |
| 1007 | * %d parameters and a return value |
| 1008 | */ |
| 1009 | #define TCERR_STRTPL_FUNC_MISMATCH 11232 |
| 1010 | |
| 1011 | /* invalid defined() syntax */ |
| 1012 | #define TCERR_DEFINED_SYNTAX 11233 |
| 1013 | |
| 1014 | /* invalid __objref() syntax */ |
| 1015 | #define TCERR___OBJREF_SYNTAX 11234 |
| 1016 | |
| 1017 | /* invalid constant value type for operator */ |
| 1018 | #define TCERR_BAD_OP_FOR_FLOAT 11235 |
| 1019 | |
| 1020 | /* expected inline object property list starting with '{', found '%.*s' */ |
| 1021 | #define TCERR_INLINE_OBJ_REQ_LBRACE 11236 |
| 1022 | |
| 1023 | |
| 1024 | /* ------------------------------------------------------------------------ */ |
| 1025 | /* |
| 1026 | * General Code Generator Errors |
| 1027 | */ |
| 1028 | |
| 1029 | /* out of memory for code generation */ |
| 1030 | #define TCERR_CODEGEN_NO_MEM 11500 |
| 1031 | |
| 1032 | /* internal error: %d unresolved temporary label fixups */ |
| 1033 | #define TCERR_UNRES_TMP_FIXUP 11501 |
| 1034 | |
| 1035 | /* internal error: attempting to write past end of code stream */ |
| 1036 | #define TCERR_WRITEAT_PAST_END 11502 |
| 1037 | |
| 1038 | /* "self" is not valid in this context */ |
| 1039 | #define TCERR_SELF_NOT_AVAIL 11503 |
| 1040 | |
| 1041 | /* "inherited" is not valid in this context */ |
| 1042 | #define TCERR_INH_NOT_AVAIL 11504 |
| 1043 | |
| 1044 | /* no address for symbol "%.*s" */ |
| 1045 | #define TCERR_NO_ADDR_SYM 11505 |
| 1046 | |
| 1047 | /* cannot assign to symbol "%.*s" */ |
| 1048 | #define TCERR_CANNOT_ASSIGN_SYM 11506 |
| 1049 | |
| 1050 | /* cannot evaluate a code label ("%.*s") */ |
| 1051 | #define TCERR_CANNOT_EVAL_LABEL 11507 |
| 1052 | |
| 1053 | /* cannot call symbol "%.*s" */ |
| 1054 | #define TCERR_CANNOT_CALL_SYM 11508 |
| 1055 | |
| 1056 | /* cannot call property "%.*s" without explicit object (no "self") */ |
| 1057 | #define TCERR_PROP_NEEDS_OBJ 11509 |
| 1058 | |
| 1059 | /* "%.*s" has no return value to be used in an expression */ |
| 1060 | #define TCERR_VOID_RETURN_IN_EXPR 11510 |
| 1061 | |
| 1062 | /* '&' operator cannot be used with function name */ |
| 1063 | #define TCERR_INVAL_FUNC_ADDR 11511 |
| 1064 | |
| 1065 | /* cannot apply operator 'new' to this expression */ |
| 1066 | #define TCERR_INVAL_NEW_EXPR 11512 |
| 1067 | |
| 1068 | /* not enough arguments to function "%.*s" */ |
| 1069 | #define TCERR_TOO_FEW_FUNC_ARGS 11513 |
| 1070 | |
| 1071 | /* too many arguments to function "%.*s" */ |
| 1072 | #define TCERR_TOO_MANY_FUNC_ARGS 11514 |
| 1073 | |
| 1074 | /* assigning to "%.*s" needs object */ |
| 1075 | #define TCERR_SETPROP_NEEDS_OBJ 11515 |
| 1076 | |
| 1077 | /* symbol "%.*s" is not a property - illegal on right side of '.' */ |
| 1078 | #define TCERR_SYM_NOT_PROP 11516 |
| 1079 | |
| 1080 | /* invalid property expression - right side of '.' is not a property */ |
| 1081 | #define TCERR_INVAL_PROP_EXPR 11517 |
| 1082 | |
| 1083 | /* illegal inherited syntax - "%.*s" is not an object */ |
| 1084 | #define TCERR_INH_NOT_OBJ 11518 |
| 1085 | |
| 1086 | /* invalid object expression - left side of '.' is not an object */ |
| 1087 | #define TCERR_INVAL_OBJ_EXPR 11519 |
| 1088 | |
| 1089 | /* symbol "%.*s" is not an object - illegal on left of '.' */ |
| 1090 | #define TCERR_SYM_NOT_OBJ 11520 |
| 1091 | |
| 1092 | /* "if" condition is always true */ |
| 1093 | #define TCERR_IF_ALWAYS_TRUE 11521 |
| 1094 | |
| 1095 | /* "if" condition is always false */ |
| 1096 | #define TCERR_IF_ALWAYS_FALSE 11522 |
| 1097 | |
| 1098 | /* invalid "break" - not in a loop or switch */ |
| 1099 | #define TCERR_INVALID_BREAK 11523 |
| 1100 | |
| 1101 | /* invalid "continue" - not in a loop */ |
| 1102 | #define TCERR_INVALID_CONTINUE 11524 |
| 1103 | |
| 1104 | /* entrypoint function "_main" is not defined */ |
| 1105 | #define TCERR_MAIN_NOT_DEFINED 11525 |
| 1106 | |
| 1107 | /* "_main" is not a function */ |
| 1108 | #define TCERR_MAIN_NOT_FUNC 11526 |
| 1109 | |
| 1110 | /* exception class symbol "%.*s" in "catch" clause is not an object */ |
| 1111 | #define TCERR_CATCH_EXC_NOT_OBJ 11527 |
| 1112 | |
| 1113 | /* invalid 'break' - no label \"%.*s\" on any enclosing statement */ |
| 1114 | #define TCERR_INVALID_BREAK_LBL 11528 |
| 1115 | |
| 1116 | /* invalid 'continue' - no label \"%.*s\" on any enclosing statement */ |
| 1117 | #define TCERR_INVALID_CONT_LBL 11529 |
| 1118 | |
| 1119 | /* 'goto' label "%.*s" is not defined in this function */ |
| 1120 | #define TCERR_INVALID_GOTO_LBL 11530 |
| 1121 | |
| 1122 | /* unresolved external reference "%.*s" */ |
| 1123 | #define TCERR_UNRESOLVED_EXTERN 11531 |
| 1124 | |
| 1125 | /* label "%.*s" is never referenced */ |
| 1126 | #define TCERR_UNREFERENCED_LABEL 11532 |
| 1127 | |
| 1128 | /* local variable "%.*s" is never referenced */ |
| 1129 | #define TCERR_UNREFERENCED_LOCAL 11533 |
| 1130 | |
| 1131 | /* local variable "%.*s" never has a value assigned */ |
| 1132 | #define TCERR_UNASSIGNED_LOCAL 11534 |
| 1133 | |
| 1134 | /* local variable "%.*s" is assigned a value that is never used */ |
| 1135 | #define TCERR_UNUSED_LOCAL_ASSIGNMENT 11535 |
| 1136 | |
| 1137 | /* superclass "%.*s" is not an object */ |
| 1138 | #define TCERR_SC_NOT_OBJECT 11536 |
| 1139 | |
| 1140 | /* argument expression %d has no value */ |
| 1141 | #define TCERR_ARG_EXPR_HAS_NO_VAL 11537 |
| 1142 | |
| 1143 | /* expression on right of assignment operator has no value */ |
| 1144 | #define TCERR_ASI_EXPR_HAS_NO_VAL 11538 |
| 1145 | |
| 1146 | /* wrong number of arguments to function %.*s: %s required, %d actual */ |
| 1147 | #define TCERR_WRONG_ARGC_FOR_FUNC 11539 |
| 1148 | |
| 1149 | /* transfer into 'finally' block via 'goto' is not allowed */ |
| 1150 | #define TCERR_GOTO_INTO_FINALLY 11540 |
| 1151 | |
| 1152 | /* parameter "%.*s" is never referenced */ |
| 1153 | #define TCERR_UNREFERENCED_PARAM 11541 |
| 1154 | |
| 1155 | /* grammar production "%.*s" has no alternatives defined */ |
| 1156 | #define TCERR_GRAMPROD_HAS_NO_ALTS 11542 |
| 1157 | |
| 1158 | /* intrinsic class property "%.*s" cannot be modified */ |
| 1159 | #define TCERR_CANNOT_MOD_META_PROP 11543 |
| 1160 | |
| 1161 | /* Collection.createIterator() is not defined - foreach() cannot be used */ |
| 1162 | #define TCERR_FOREACH_NO_CREATEITER 11544 |
| 1163 | |
| 1164 | /* Iterator.getNext() is not defined - foreach() cannot be used */ |
| 1165 | #define TCERR_FOREACH_NO_GETNEXT 11545 |
| 1166 | |
| 1167 | /* Iterator.isNextAvailable() is not defined - foreach() cannot be used */ |
| 1168 | #define TCERR_FOREACH_NO_ISNEXTAVAIL 11546 |
| 1169 | |
| 1170 | /* invalid type for export */ |
| 1171 | #define TCERR_INVALID_TYPE_FOR_EXPORT 11547 |
| 1172 | |
| 1173 | /* duplicate export - extern name "%.*s", internal names "%.*s" and "%.*s" */ |
| 1174 | #define TCERR_DUP_EXPORT 11548 |
| 1175 | |
| 1176 | /* another duplicate export for extern name "%.*s", internal name "%.*s" */ |
| 1177 | #define TCERR_DUP_EXPORT_AGAIN 11549 |
| 1178 | |
| 1179 | /* "targetprop" is not valid in this context */ |
| 1180 | #define TCERR_TARGETPROP_NOT_AVAIL 11550 |
| 1181 | |
| 1182 | /* "targetobj" is not valid in this context */ |
| 1183 | #define TCERR_TARGETOBJ_NOT_AVAIL 11551 |
| 1184 | |
| 1185 | /* "definingobj" is not valid in this context */ |
| 1186 | #define TCERR_DEFININGOBJ_NOT_AVAIL 11552 |
| 1187 | |
| 1188 | /* cannot call constant expression */ |
| 1189 | #define TCERR_CANNOT_CALL_CONST 11553 |
| 1190 | |
| 1191 | /* "replaced" is not valid in this context */ |
| 1192 | #define TCERR_REPLACED_NOT_AVAIL 11554 |
| 1193 | |
| 1194 | /* grammar production "%.*s" has too many alternatives defined */ |
| 1195 | #define TCERR_GRAMPROD_TOO_MANY_ALTS 11555 |
| 1196 | |
| 1197 | /* cannot apply 'new' to this symbol (not a TadsObject object) */ |
| 1198 | #define TCERR_BAD_META_FOR_NEW 11556 |
| 1199 | |
| 1200 | /* inherited<> type token is not an object name */ |
| 1201 | #define TCERR_MMINH_TYPE_NOT_OBJ 11557 |
| 1202 | |
| 1203 | /* inherited<> invalid in this context */ |
| 1204 | #define TCERR_MMINH_BAD_CONTEXT 11558 |
| 1205 | |
| 1206 | /* multi-method 'inherited' missing support function %.*s */ |
| 1207 | #define TCERR_MMINH_MISSING_SUPPORT_FUNC 11559 |
| 1208 | |
| 1209 | /* inherited<> function not found */ |
| 1210 | #define TCERR_MMINH_UNDEF_FUNC 11560 |
| 1211 | |
| 1212 | /* named parameter support function %.*s missing */ |
| 1213 | #define TCERR_NAMED_PARAM_MISSING_FUNC 11561 |
| 1214 | |
| 1215 | /* optional parameter support function %.*s missing */ |
| 1216 | #define TCERR_OPT_PARAM_MISSING_FUNC 11562 |
| 1217 | |
| 1218 | /* <<one of>> requires class OneOfIndexGen to be defined */ |
| 1219 | #define TCERR_ONEOF_REQ_GENCLS 11563 |
| 1220 | |
| 1221 | /* <<one of>> requires getNextIndex to be a property name */ |
| 1222 | #define TCERR_ONEOF_REQ_GETNXT 11564 |
| 1223 | |
| 1224 | /* metaclass %.*s is not defined in this module */ |
| 1225 | #define TCERR_EXT_METACLASS 11565 |
| 1226 | |
| 1227 | /* cannot call extern function without an argument list prototype */ |
| 1228 | #define TCERR_FUNC_CALL_NO_PROTO 11566 |
| 1229 | |
| 1230 | /* %.*s is not defined or is not a metaclass */ |
| 1231 | #define TCERR_UNDEF_METACLASS 11567 |
| 1232 | |
| 1233 | |
| 1234 | /* ------------------------------------------------------------------------ */ |
| 1235 | /* |
| 1236 | * Errors related to symbol export files |
| 1237 | */ |
| 1238 | |
| 1239 | /* |
| 1240 | * invalid symbol type in symbol file - file is corrupted or was created |
| 1241 | * by an incompatible version of the compiler |
| 1242 | */ |
| 1243 | #define TCERR_SYMEXP_INV_TYPE 11700 |
| 1244 | |
| 1245 | /* invalid symbol file signature */ |
| 1246 | #define TCERR_SYMEXP_INV_SIG 11701 |
| 1247 | |
| 1248 | /* symbol name too long in symbol file */ |
| 1249 | #define TCERR_SYMEXP_SYM_TOO_LONG 11702 |
| 1250 | |
| 1251 | /* |
| 1252 | * symbol "%.*s" found in symbol file is already defined; ignoring the |
| 1253 | * redefinition |
| 1254 | */ |
| 1255 | #define TCERR_SYMEXP_REDEF 11703 |
| 1256 | |
| 1257 | |
| 1258 | /* ------------------------------------------------------------------------ */ |
| 1259 | /* |
| 1260 | * Errors related to object files |
| 1261 | */ |
| 1262 | |
| 1263 | /* invalid object file signature */ |
| 1264 | #define TCERR_OBJFILE_INV_SIG 11800 |
| 1265 | |
| 1266 | /* too many object/property ID's for this platform */ |
| 1267 | #define TCERR_OBJFILE_TOO_MANY_IDS 11801 |
| 1268 | |
| 1269 | /* out of memory loading object file */ |
| 1270 | #define TCERR_OBJFILE_OUT_OF_MEM 11802 |
| 1271 | |
| 1272 | /* invalid symbol type in object file */ |
| 1273 | #define TCERR_OBJFILE_INV_TYPE 11803 |
| 1274 | |
| 1275 | /* symbol %.*s (type %s) redefined (type %s) in object file "%s" */ |
| 1276 | #define TCERR_OBJFILE_REDEF_SYM_TYPE 11804 |
| 1277 | |
| 1278 | /* symbol %.*s (type %s) redefined in object file "%s" */ |
| 1279 | #define TCERR_OBJFILE_REDEF_SYM 11805 |
| 1280 | |
| 1281 | /* built-in function %.*s has different definition in object file "%s" */ |
| 1282 | #define TCERR_OBJFILE_BIF_INCOMPAT 11806 |
| 1283 | |
| 1284 | /* function %.*s has different definition in object file "%s" */ |
| 1285 | #define TCERR_OBJFILE_FUNC_INCOMPAT 11807 |
| 1286 | |
| 1287 | /* internal symbol reference \"%.*s\" missing in object file %s */ |
| 1288 | #define TCERR_OBJFILE_INT_SYM_MISSING 11808 |
| 1289 | |
| 1290 | /* invalid stream ID in object file %s */ |
| 1291 | #define TCERR_OBJFILE_INVAL_STREAM_ID 11809 |
| 1292 | |
| 1293 | /* invalid object ID in object file %s */ |
| 1294 | #define TCERR_OBJFILE_INVAL_OBJ_ID 11810 |
| 1295 | |
| 1296 | /* invalid property ID in object file %s */ |
| 1297 | #define TCERR_OBJFILE_INVAL_PROP_ID 11811 |
| 1298 | |
| 1299 | /* function set/metaclass entry is invalid in object file "%s" */ |
| 1300 | #define TCERR_OBJFILE_INV_FN_OR_META 11812 |
| 1301 | |
| 1302 | /* conflicting function set "%s" in object file "%s" */ |
| 1303 | #define TCERR_OBJFILE_FNSET_CONFLICT 11813 |
| 1304 | |
| 1305 | /* conflicting metaclass "%s" in object file "%s" */ |
| 1306 | #define TCERR_OBJFILE_META_CONFLICT 11814 |
| 1307 | |
| 1308 | /* modified or replaced object %.*s found before original in object file %s */ |
| 1309 | #define TCERR_OBJFILE_MODREPOBJ_BEFORE_ORIG 11815 |
| 1310 | |
| 1311 | /* replaced function %.*s found before original in object file %s */ |
| 1312 | #define TCERR_OBJFILE_REPFUNC_BEFORE_ORIG 11816 |
| 1313 | |
| 1314 | /* "construct" cannot return a value */ |
| 1315 | #define TCERR_CONSTRUCT_CANNOT_RET_VAL 11817 |
| 1316 | |
| 1317 | /* |
| 1318 | * object file doesn't contain debugging information (required because |
| 1319 | * we're linking for debugging) |
| 1320 | */ |
| 1321 | #define TCERR_OBJFILE_NO_DBG 11818 |
| 1322 | |
| 1323 | /* metaclass prop "%.*s" in does not match original "%.*s" in obj file %s */ |
| 1324 | #define TCERR_OBJFILE_METACLASS_PROP_CONFLICT 11819 |
| 1325 | |
| 1326 | /* metaclass index conflict in object file %s */ |
| 1327 | #define TCERR_OBJFILE_METACLASS_IDX_CONFLICT 11820 |
| 1328 | |
| 1329 | /* cannot modify or replace object of this type - %.*s in object file %s */ |
| 1330 | #define TCERR_OBJFILE_CANNOT_MOD_OR_REP_TYPE 11821 |
| 1331 | |
| 1332 | /* exported symbol too long in object file */ |
| 1333 | #define TCERR_EXPORT_SYM_TOO_LONG 11822 |
| 1334 | |
| 1335 | /* macro name too long in object file debug records */ |
| 1336 | #define TCERR_OBJFILE_MACRO_SYM_TOO_LONG 11823 |
| 1337 | |
| 1338 | /* conflicting definitions of %.*s as ordinary function and as multi-method */ |
| 1339 | #define TCERR_OBJFILE_MMFUNC_INCOMPAT 11824 |
| 1340 | |
| 1341 | /* multi-method parameter type %.*s in function %.*s is not an object */ |
| 1342 | #define TCERR_OBJFILE_MMPARAM_NOT_OBJECT 11825 |
| 1343 | |
| 1344 | /* multi-method registration function %s is missing or invalid */ |
| 1345 | #define TCERR_MISSING_MMREG 11826 |
| 1346 | |
| 1347 | |
| 1348 | /* ------------------------------------------------------------------------ */ |
| 1349 | /* |
| 1350 | * T3 Code Generator Errors |
| 1351 | */ |
| 1352 | |
| 1353 | /* constant string or list exceeds 32k - won't run on 16-bit machines */ |
| 1354 | #define TCERR_CONST_POOL_OVER_32K 15001 |
| 1355 | |
| 1356 | /* internal error: constant too large for page */ |
| 1357 | #define TCERR_CONST_TOO_LARGE_FOR_PG 15002 |
| 1358 | |
| 1359 | /* internal error: corrupted list */ |
| 1360 | #define TCERR_CORRUPT_LIST 15003 |
| 1361 | |
| 1362 | /* internal error: 'inherited' codegen */ |
| 1363 | #define TCERR_GEN_CODE_INH 15004 |
| 1364 | |
| 1365 | /* internal error: unknown constant type in code generation */ |
| 1366 | #define TCERR_GEN_UNK_CONST_TYPE 15005 |
| 1367 | |
| 1368 | /* internal error: attempting to generate code for non-lvalue */ |
| 1369 | #define TCERR_GEN_BAD_LVALUE 15006 |
| 1370 | |
| 1371 | /* internal error: attempting to generate address for non-addressable */ |
| 1372 | #define TCERR_GEN_BAD_ADDR 15007 |
| 1373 | |
| 1374 | /* too many arguments to function (maximum of 127 allowed) */ |
| 1375 | #define TCERR_TOO_MANY_CALL_ARGS 15008 |
| 1376 | |
| 1377 | /* too many arguments to constructor (maximum of 126 allowed) */ |
| 1378 | #define TCERR_TOO_MANY_CTOR_ARGS 15009 |
| 1379 | |
| 1380 | /* internal error: 'delegated' codegen */ |
| 1381 | #define TCERR_GEN_CODE_DELEGATED 15010 |
| 1382 | |
| 1383 | /* code block exceeds 32k - won't run on 16-bit machines */ |
| 1384 | #define TCERR_CODE_POOL_OVER_32K 15011 |
| 1385 | |
| 1386 | /* internal error: 'case' or 'default' out of place or non-const expression */ |
| 1387 | #define TCERR_GEN_BAD_CASE 15012 |
| 1388 | |
| 1389 | /* internal error: 'catch' or 'finally' gen_code called directly */ |
| 1390 | #define TCERR_CATCH_FINALLY_GEN_CODE 15013 |
| 1391 | |
| 1392 | /* internal error: property value has invalid type for code generation */ |
| 1393 | #define TCERR_INVAL_PROP_CODE_GEN 15014 |
| 1394 | |
| 1395 | /* symbol "%.*s" cannot be exported - reserved for compiler use */ |
| 1396 | #define TCERR_RESERVED_EXPORT 15015 |
| 1397 | |
| 1398 | /* expression too complex */ |
| 1399 | #define TCERR_EXPR_TOO_COMPLEX 15016 |
| 1400 | |
| 1401 | /* property 'construct' is not defined */ |
| 1402 | #define TCERR_CONSTRUCT_NOT_DEFINED 15017 |
| 1403 | |
| 1404 | /* 'construct' is not a property */ |
| 1405 | #define TCERR_CONSTRUCT_NOT_PROP 15018 |
| 1406 | |
| 1407 | /* property 'finalize' is not defined */ |
| 1408 | #define TCERR_FINALIZE_NOT_DEFINED 15019 |
| 1409 | |
| 1410 | /* 'finalize' is not a property */ |
| 1411 | #define TCERR_FINALIZE_NOT_PROP 15020 |
| 1412 | |
| 1413 | |
| 1414 | /* ------------------------------------------------------------------------ */ |
| 1415 | /* |
| 1416 | * Javascript code generator errors |
| 1417 | */ |
| 1418 | |
| 1419 | /* invalid expression template */ |
| 1420 | #define TCERR_BAD_JS_TPL 16000 |
| 1421 | |
| 1422 | /* expression template expansion overflow */ |
| 1423 | #define TCERR_JS_EXPR_EXPAN_OVF 16001 |
| 1424 | |
| 1425 | |
| 1426 | #endif /* TCERRNUM_H */ |
| 1427 |