1
/* $Header: d:/cvsroot/tads/tads3/TCERRNUM.H,v 1.5 1999/07/11 00:46:53 MJRoberts Exp $ */
4
* Copyright (c) 1999, 2002 Michael J. Roberts. All Rights Reserved.
6
* Please see the accompanying license file, LICENSE.TXT, for information
7
* on using and copying this software.
11
tcerrnum.h - T3 Compiler Error Numbers
15
All T3 Compiler error numbers are in the range 10000-19999.
17
04/15/99 MJRoberts - Creation
24
/* ------------------------------------------------------------------------ */
26
* Tokenizer and Preprocessor Errors
29
/* out of memory for source line - source line is too long */
30
#define TCERR_LINE_MEM 10001
32
/* invalid preprocessor directive "%.*s" */
33
#define TCERR_INV_PP_DIR 10002
35
/* unable to load character set specified in #charset directive */
36
#define TCERR_CANT_LOAD_CHARSET 10003
39
* unexpected or invalid #charset - directive must be at the very
40
* beginning of the file, and must specify a character set name enclosed
43
#define TCERR_UNEXPECTED_CHARSET 10004
45
/* invalid #include syntax - required '"' or '< >' around filename */
46
#define TCERR_BAD_INC_SYNTAX 10005
48
/* #include file "%.*s" not found */
49
#define TCERR_INC_NOT_FOUND 10006
51
/* #include file "%.*s" previously included; redundant inclusion ignored */
52
#define TCERR_REDUNDANT_INCLUDE 10007
54
/* invalid symbol "%.*s" for #define */
55
#define TCERR_BAD_DEFINE_SYM 10008
57
/* out of memory for token text */
58
#define TCERR_NO_MEM_TOKEN 10009
60
/* missing ')' in macro parameter list */
61
#define TCERR_MACRO_NO_RPAR 10010
63
/* invalid macro parameter name "%.*s" */
64
#define TCERR_BAD_MACRO_ARG_NAME 10011
66
/* expected comma or ')' in macro parameter list */
67
#define TCERR_MACRO_EXP_COMMA 10012
69
/* redefinition of macro "%.*s" */
70
#define TCERR_MACRO_REDEF 10013
72
/* unrecognized pragma "%.*s" */
73
#define TCERR_UNKNOWN_PRAGMA 10014
75
/* pragma syntax error */
76
#define TCERR_BAD_PRAGMA_SYNTAX 10015
78
/* extra characters after end of preprocessor directive */
79
#define TCERR_PP_EXTRA 10016
81
/* #if nesting too deep */
82
#define TCERR_IF_NESTING_OVERFLOW 10017
84
/* #else without #if */
85
#define TCERR_PP_ELSE_WITHOUT_IF 10018
87
/* #endif without #if */
88
#define TCERR_PP_ENDIF_WITHOUT_IF 10019
90
/* #elif without #if */
91
#define TCERR_PP_ELIF_WITHOUT_IF 10020
93
/* numeric value required in preprocessor constant expression */
94
#define TCERR_PP_INT_REQUIRED 10021
96
/* incompatible types for comparison in preprocessor constant expression */
97
#define TCERR_PP_INCOMP_TYPES 10022
99
/* extra characters after end of preprocessor constant expression */
100
#define TCERR_PP_EXPR_EXTRA 10023
102
/* division by zero in preprocessor constant expression */
103
#define TCERR_PP_DIV_ZERO 10024
106
* expected number, symbol, or single-quoted string in preprocessor
107
* constant expression, got "%.*s"
109
#define TCERR_PP_INVALID_VALUE 10025
111
/* unterminated string */
112
#define TCERR_PP_UNTERM_STRING 10026
114
/* unmatched left parenthesis in preprocessor constant expression */
115
#define TCERR_PP_UNMATCHED_LPAR 10027
117
/* number or true/nil required for "!" operator in preprocessor expression */
118
#define TCERR_PP_BAD_NOT_VAL 10028
120
/* missing right paren in macro expansion (must be on same line for #) */
121
#define TCERR_PP_MACRO_ARG_RPAR_1LINE 10029
123
/* argument list must be provided in macro invocation */
124
#define TCERR_PP_NO_MACRO_ARGS 10030
126
/* not enough arguments in macro invocation */
127
#define TCERR_PP_FEW_MACRO_ARGS 10031
129
/* no close paren in macro argument list */
130
#define TCERR_PP_MACRO_ARG_RPAR 10032
132
/* too many arguments in macro invocation */
133
#define TCERR_PP_MANY_MACRO_ARGS 10033
135
/* symbol required for defined() preprocessor operator */
136
#define TCERR_PP_DEFINED_NO_SYM 10034
138
/* missing ')' in defined() preprocess operator */
139
#define TCERR_PP_DEFINED_RPAR 10035
141
/* symbol "%.*s" too long; truncated to "%.*s" */
142
#define TCERR_SYMBOL_TRUNCATED 10036
144
/* too many formal parameters defined for macro (maximum %d) */
145
#define TCERR_TOO_MANY_MAC_PARMS 10037
147
/* out of memory for string buffer */
148
#define TCERR_NO_STRBUF_MEM 10038
150
/* unable to open source file "%.*s" */
151
#define TCERR_CANT_OPEN_SRC 10039
154
#define TCERR_ERROR_DIRECTIVE 10040
156
/* out of memory for macro expansion */
157
#define TCERR_OUT_OF_MEM_MAC_EXP 10041
159
/* integer value required for line number in #line */
160
#define TCERR_LINE_REQ_INT 10042
162
/* string value required for filename in #line */
163
#define TCERR_LINE_FILE_REQ_STR 10043
165
/* #if without #endif at line %ld in file %s */
166
#define TCERR_IF_WITHOUT_ENDIF 10044
168
/* internal error: unsplicing not from current line */
169
#define TCERR_UNSPLICE_NOT_CUR 10045
171
/* internal error: unsplicing more than once in same line */
172
#define TCERR_MULTI_UNSPLICE 10046
174
/* #elif not in same file as #if */
175
#define TCERR_PP_ELIF_NOT_IN_SAME_FILE 10047
177
/* #else not in same file as #if */
178
#define TCERR_PP_ELSE_NOT_IN_SAME_FILE 10048
180
/* #endif not in same file as #if */
181
#define TCERR_PP_ENDIF_NOT_IN_SAME_FILE 10049
183
/* cannot #define "defined" - symbol reserved as preprocessor operator */
184
#define TCERR_REDEF_OP_DEFINED 10050
186
/* string appears unterminated (';' or '}' appears alone on a line) */
187
#define TCERR_POSSIBLE_UNTERM_STR 10051
189
/* source line too long after macro expansion */
190
#define TCERR_SRCLINE_TOO_LONG 10052
192
/* invalid character */
193
#define TCERR_INVALID_CHAR 10053
195
/* ":" missing in "?" expression */
196
#define TCERR_PP_QC_MISSING_COLON 10054
198
/* preprocessor expression is not a constant value */
199
#define TCERR_PP_EXPR_NOT_CONST 10055
201
/* unable to load default character set "%s" */
202
#define TCERR_CANT_LOAD_DEFAULT_CHARSET 10056
204
/* '...' in macro formal parameter list must be followed by ')' */
205
#define TCERR_MACRO_ELLIPSIS_REQ_RPAR 10057
207
/* #foreach nesting too deep */
208
#define TCERR_PP_FOREACH_TOO_DEEP 10058
210
/* trailing whitespace after backslash */
211
#define TCERR_TRAILING_SP_AFTER_BS 10059
213
/* extraneous characters after #include filename */
214
#define TCERR_EXTRA_INC_SYNTAX 10060
216
/* nested comment? */
217
#define TCERR_NESTED_COMMENT 10061
219
/* unmappable character */
220
#define TCERR_UNMAPPABLE_CHAR 10062
222
/* decimal digit found in octal constant */
223
#define TCERR_DECIMAL_IN_OCTAL 10063
225
/* '<>' operator is obsolete */
226
#define TCERR_LTGT_OBSOLETE 10064
229
/* ------------------------------------------------------------------------ */
234
/* internal error explanation */
235
#define TCERR_INTERNAL_EXPLAN 10500
238
* internal error - after we log an internal error, we'll throw this
239
* generic error code; since internal errors are unrecoverable, any
240
* frames that catch this error should simply clean up and terminate as
241
* gracefully as possible
243
#define TCERR_INTERNAL_ERROR 10501
246
* fatal error - after we log a fatal error, we'll throw this generic
247
* error code; any frames that catch this error should simply clean up
250
#define TCERR_FATAL_ERROR 10502
253
/* ------------------------------------------------------------------------ */
258
/* cannot create symbol file "%s" */
259
#define TCERR_MAKE_CANNOT_CREATE_SYM 10600
261
/* cannot create object file "%s" */
262
#define TCERR_MAKE_CANNOT_CREATE_OBJ 10601
264
/* cannot create image file "%s" */
265
#define TCERR_MAKE_CANNOT_CREATE_IMG 10602
267
/* cannot open symbol file "%s" for reading */
268
#define TCERR_MAKE_CANNOT_OPEN_SYM 10603
270
/* cannot open object file "%s" for reading */
271
#define TCERR_MAKE_CANNOT_OPEN_OBJ 10604
273
/* cannot open image file "%s" */
274
#define TCERR_MAKE_CANNOT_OPEN_IMG 10605
276
/* maximum error count exceeded */
277
#define TCERR_TOO_MANY_ERRORS 10606
279
/* same name used for more than one source module */
280
#define TCERR_MODULE_NAME_COLLISION 10607
282
/* same name used for module as for module from a given library */
283
#define TCERR_MODULE_NAME_COLLISION_WITH_LIB 10608
285
/* "source-file-name (from library library-name)" */
286
#define TCERR_SOURCE_FROM_LIB 10609
289
/* ------------------------------------------------------------------------ */
294
/* divide by zero in constant expression */
295
#define TCERR_CONST_DIV_ZERO 11001
297
/* out of memory for parse tree block */
298
#define TCERR_NO_MEM_PRS_TREE 11002
300
/* parse tree node too large (size = %ld) (internal error) */
301
#define TCERR_PRS_BLK_TOO_BIG 11003
303
/* invalid lvalue (operator "%s") */
304
#define TCERR_INVALID_LVALUE 11004
306
/* expected ':' in '?' operator expression */
307
#define TCERR_QUEST_WITHOUT_COLON 11005
309
/* invalid lvalue for unary operator (++ or --) */
310
#define TCERR_INVALID_UNARY_LVALUE 11006
312
/* operator delete is obsolete */
313
#define TCERR_DELETE_OBSOLETE 11007
315
/* can't take address of expression */
316
#define TCERR_NO_ADDRESS 11008
318
/* invalid constant type for unary '%s': number required */
319
#define TCERR_CONST_UNARY_REQ_NUM 11009
321
/* invalid constant type for binary '%s': number required */
322
#define TCERR_CONST_BINARY_REQ_NUM 11010
324
/* incompatible constant types for '+' operator */
325
#define TCERR_CONST_BINPLUS_INCOMPAT 11011
327
/* missing ')' in expression */
328
#define TCERR_EXPR_MISSING_RPAR 11012
330
/* invalid primary expression */
331
#define TCERR_BAD_PRIMARY_EXPR 11013
333
/* constant types are not comparable */
334
#define TCERR_CONST_BAD_COMPARE 11014
336
/* expected ';', found "%.*s" */
337
#define TCERR_EXPECTED_SEMI 11015
339
/* expected ">>" and the continuation of the string, found "%.*s" */
340
#define TCERR_EXPECTED_DSTR_CONT 11016
342
/* expected ',' in argument list, found "%.*s" */
343
#define TCERR_EXPECTED_ARG_COMMA 11017
345
/* expected ']' in subscript, found "%.*s" */
346
#define TCERR_EXPECTED_SUB_RBRACK 11018
348
/* invalid expression after '.' - property name or expression required */
349
#define TCERR_INVALID_PROP_EXPR 11019
351
/* found "%.*s" in list, assuming that list is missing ']' */
352
#define TCERR_LIST_MISSING_RBRACK 11020
354
/* extraneous ')' in list */
355
#define TCERR_LIST_EXTRA_RPAR 11021
357
/* expected ',' separating list elements, but found "%.*s" */
358
#define TCERR_LIST_EXPECT_COMMA 11022
360
/* constant list index value must be an integer value */
361
#define TCERR_CONST_IDX_NOT_INT 11023
363
/* constant list index out of range */
364
#define TCERR_CONST_IDX_RANGE 11024
366
/* unterminated string (string started with %c%*.s%c) */
367
#define TCERR_UNTERM_STRING 11025
369
/* missing ')' in argument list */
370
#define TCERR_EXPECTED_ARG_RPAR 11026
372
/* extra ')' - ignoring */
373
#define TCERR_EXTRA_RPAR 11027
375
/* extra ']' - ignoring */
376
#define TCERR_EXTRA_RBRACK 11028
378
/* expected operand, found '%s' */
379
#define TCERR_EXPECTED_OPERAND 11029
381
/* expected property name pattern string after 'propertyset', found "%.*s" */
382
#define TCERR_PROPSET_REQ_STR 11030
384
/* invalid "inherited class" syntax - expected '.', found "%.*s" */
385
#define TCERR_INH_CLASS_SYNTAX 11031
387
/* undefined symbol "%.*s" */
388
#define TCERR_UNDEF_SYM 11032
390
/* undefined symbol "%.*s" - assuming that it's a property */
391
#define TCERR_ASSUME_SYM_PROP 11033
393
/* incompatible constant types for '-' operator */
394
#define TCERR_CONST_BINMINUS_INCOMPAT 11034
396
/* expected a symbol in formal parameter list, found "%.*s" */
397
#define TCERR_REQ_SYM_FORMAL 11035
399
/* expected a comma in formal parameter list, found "%.*s" */
400
#define TCERR_REQ_COMMA_FORMAL 11036
402
/* missing parameter at end of formal parameter list */
403
#define TCERR_MISSING_LAST_FORMAL 11037
405
/* missing right paren at end of formal parameter list (found "%.*s") */
406
#define TCERR_MISSING_RPAR_FORMAL 11038
408
/* formal parameter "%.*s" defined more than once */
409
#define TCERR_FORMAL_REDEF 11039
411
/* '=' in method definition is obsolete */
412
#define TCERR_EQ_WITH_METHOD_OBSOLETE 11040
414
/* '{' required at the start of code body - found "%.*s" */
415
#define TCERR_REQ_LBRACE_CODE 11041
417
/* unexpected end of file - '}' required */
418
#define TCERR_EOF_IN_CODE 11042
420
/* expected '(' after 'if', but found "%.*s" */
421
#define TCERR_REQ_LPAR_IF 11043
423
/* misplaced 'else' */
424
#define TCERR_MISPLACED_ELSE 11044
426
/* misplaced 'case' */
427
#define TCERR_MISPLACED_CASE 11045
429
/* misplaced 'default' */
430
#define TCERR_MISPLACED_DEFAULT 11046
432
/* ellipsis must be the last formal parameter */
433
#define TCERR_ELLIPSIS_NOT_LAST 11047
435
/* expected ',' or ';' after symbol, but found "%.*s" */
436
#define TCERR_LOCAL_REQ_COMMA 11048
438
/* expected symbol name in local variable definition, but found "%.*s" */
439
#define TCERR_LOCAL_REQ_SYM 11049
441
/* expected symbol name in function defintion */
442
#define TCERR_FUNC_REQ_SYM 11050
444
/* expected code body */
445
#define TCERR_REQ_CODE_BODY 11051
447
/* expected function or object definition */
448
#define TCERR_REQ_FUNC_OR_OBJ 11052
450
/* expected ';' or expression after 'return', but found "%.*s" */
451
#define TCERR_RET_REQ_EXPR 11053
453
/* unreachable code */
454
#define TCERR_UNREACHABLE_CODE 11054
456
/* code has 'return' statements both with and without values */
457
#define TCERR_RET_VAL_AND_VOID 11055
459
/* code has value returns but also falls off end */
460
#define TCERR_RET_VAL_AND_IMP_VOID 11056
462
/* function set name expected after 'intrinsic' keyword, but found "%.*s" */
463
#define TCERR_REQ_INTRINS_NAME 11057
465
/* open brace required ater intrinsic function set name */
466
#define TCERR_REQ_INTRINS_LBRACE 11058
468
/* end of file in 'intrinsic' function set list */
469
#define TCERR_EOF_IN_INTRINS 11059
471
/* missing open paren after function name in 'instrinsic' - found "%.*s" */
472
#define TCERR_REQ_INTRINS_LPAR 11060
474
/* expected function name in 'intrinsic' list, but found "%.*s" */
475
#define TCERR_REQ_INTRINS_SYM 11061
477
/* expected '(' after 'for', but found "%.*s" */
478
#define TCERR_REQ_FOR_LPAR 11062
480
/* local variable "%.*s" is already defined in this scope */
481
#define TCERR_LOCAL_REDEF 11063
483
/* initializer is required for "local" in "for" - found "%.*s" */
484
#define TCERR_REQ_FOR_LOCAL_INIT 11064
486
/* missing expression after ',' in "for" initializer */
487
#define TCERR_MISSING_FOR_INIT_EXPR 11065
489
/* missing expression in "for" statement */
490
#define TCERR_MISSING_FOR_PART 11066
492
/* ',' or ';' expected in "for" initializer, but found "%.*s" */
493
#define TCERR_REQ_FOR_INIT_COMMA 11067
495
/* ';' expected in "for" after condition expression, but found "%.*s" */
496
#define TCERR_REQ_FOR_COND_SEM 11068
498
/* missing ')' at end of 'for' statement expression list */
499
#define TCERR_REQ_FOR_RPAR 11069
501
/* "for" condition is always false - reinitializer and body are unreachable */
502
#define TCERR_FOR_COND_FALSE 11070
504
/* '(' missing after 'while' - found "%.*s" instead */
505
#define TCERR_REQ_WHILE_LPAR 11071
507
/* ')' missing at end of 'while' expression - found "%.*s" instead */
508
#define TCERR_REQ_WHILE_RPAR 11072
510
/* "while" condition is always false - body is unreachable */
511
#define TCERR_WHILE_COND_FALSE 11073
513
/* "while" missing in "do" statement (found "%.*s" instead) */
514
#define TCERR_REQ_DO_WHILE 11074
516
/* misplaced "catch" - not part of "try" */
517
#define TCERR_MISPLACED_CATCH 11075
519
/* misplaced "finally" - not part of "try" */
520
#define TCERR_MISPLACED_FINALLY 11076
522
/* '(' missing after 'switch' - found "%.*s" instead */
523
#define TCERR_REQ_SWITCH_LPAR 11077
525
/* ')' missing at end of 'switch' expression - found "%.*s" instead */
526
#define TCERR_REQ_SWITCH_RPAR 11078
528
/* '{' missing after 'switch' expression - found "%.*s" instead */
529
#define TCERR_REQ_SWITCH_LBRACE 11079
531
/* code preceding first 'case' or 'default' label in switch is not allowed */
532
#define TCERR_UNREACHABLE_CODE_IN_SWITCH 11080
534
/* end of file in switch body */
535
#define TCERR_EOF_IN_SWITCH 11081
537
/* duplicate code label "%.*s" */
538
#define TCERR_CODE_LABEL_REDEF 11082
540
/* ':' missing after 'case' expression - found "%.*s" instead */
541
#define TCERR_REQ_CASE_COLON 11083
543
/* 'case' expression has a non-constant value */
544
#define TCERR_CASE_NOT_CONSTANT 11084
546
/* ':' missing after 'default' - found "%.*s" instead */
547
#define TCERR_REQ_DEFAULT_COLON 11085
549
/* switch already has 'default' label */
550
#define TCERR_DEFAULT_REDEF 11086
552
/* 'try' has no 'catch' or 'finally' clauses */
553
#define TCERR_TRY_WITHOUT_CATCH 11087
555
/* '(' required after 'catch' - found "%.*s" instead */
556
#define TCERR_REQ_CATCH_LPAR 11088
558
/* ')' required after 'catch' variable name - found "%.*s" instead */
559
#define TCERR_REQ_CATCH_RPAR 11089
561
/* exception class name symbol required in 'catch' - found "%.*s" instead */
562
#define TCERR_REQ_CATCH_CLASS 11090
564
/* variable name symbol required in 'catch' - found "%.*s" instead */
565
#define TCERR_REQ_CATCH_VAR 11091
567
/* 'catch' target variable "%.*s" is not a local variable */
568
#define TCERR_CATCH_VAR_NOT_LOCAL 11092
570
/* label expected after 'break' - found "%.*s" */
571
#define TCERR_BREAK_REQ_LABEL 11093
573
/* label expected after 'continue' - found "%.*s" */
574
#define TCERR_CONT_REQ_LABEL 11094
576
/* label expected after 'goto' - found "%.*s" */
577
#define TCERR_GOTO_REQ_LABEL 11095
579
/* symbol "%.*s" is already defined - can't use as a new function name */
580
#define TCERR_REDEF_AS_FUNC 11096
582
/* expected 'function' or 'object' after 'extern', but found '%.*s' */
583
#define TCERR_INVAL_EXTERN 11097
585
/* code body is not allowed in an 'extern function' definition */
586
#define TCERR_EXTERN_NO_CODE_BODY 11098
588
/* function "%.*s" is already defined */
589
#define TCERR_FUNC_REDEF 11099
591
/* function "%.*s" has a previous incompatible definition */
592
#define TCERR_INCOMPAT_FUNC_REDEF 11100
594
/* expected ':' in object definition after object name, but found "%.*s" */
595
#define TCERR_OBJDEF_REQ_COLON 11101
597
/* expected superclass name in object definition, but found "%.*s" */
598
#define TCERR_OBJDEF_REQ_SC 11102
600
/* superclasses cannot be specified with 'object' as the base class */
601
#define TCERR_OBJDEF_OBJ_NO_SC 11103
603
/* symbol "%.*s" is already defined - can't redefine as an object */
604
#define TCERR_REDEF_AS_OBJ 11104
606
/* object "%.*s" is already defined */
607
#define TCERR_OBJ_REDEF 11105
609
/* expected property name in definition of object "%.*s", but found "%.*s" */
610
#define TCERR_OBJDEF_REQ_PROP 11106
612
/* redefining symbol "%.*s" as property */
613
#define TCERR_REDEF_AS_PROP 11107
615
/* expected prop value or method after property name %.*s, but found %.*s */
616
#define TCERR_OBJDEF_REQ_PROPVAL 11108
618
/* expected 'function' or object name after 'replace', but found '%.*s' */
619
#define TCERR_REPLACE_REQ_OBJ_OR_FUNC 11109
621
/* replace/modify cannot be used with an undefined object */
622
#define TCERR_REPMODOBJ_UNDEF 11110
624
/* double-quoted strings cannot be used within expressions */
625
#define TCERR_DQUOTE_IN_EXPR 11111
627
/* assignment in condition (possible use of '=' where '==' was intended) */
628
#define TCERR_ASI_IN_COND 11112
630
/* replace/modify cannot be used with an undefined function */
631
#define TCERR_REPFUNC_UNDEF 11113
633
/* 'replace' can only be applied to a property in a 'modify' object */
634
#define TCERR_REPLACE_PROP_REQ_MOD_OBJ 11114
636
/* expected object name symbol in 'extern' but found "%.*s" */
637
#define TCERR_EXTERN_OBJ_REQ_SYM 11115
639
/* property "%.*s" is already defined in object "%.*s" */
640
#define TCERR_PROP_REDEF_IN_OBJ 11116
642
/* '=' required between property name and value - found "%.*s" */
643
#define TCERR_PROP_REQ_EQ 11117
645
/* extra list element expected after comma, but found end of list */
646
#define TCERR_LIST_EXPECT_ELEMENT 11118
648
/* expected class name string after name string but found "%.*s" */
649
#define TCERR_REQ_INTRINS_CLASS_NAME 11119
651
/* open brace required ater intrinsic class name */
652
#define TCERR_REQ_INTRINS_CLASS_LBRACE 11120
654
/* end of file in 'intrinsic class' property list */
655
#define TCERR_EOF_IN_INTRINS_CLASS 11121
657
/* expected property name in 'intrinsic class' list, but found "%.*s" */
658
#define TCERR_REQ_INTRINS_CLASS_PROP 11122
660
/* expected class name symbol after 'intrinsic class' but found "%.*s" */
661
#define TCERR_REQ_INTRINS_CLASS_NAME_SYM 11123
663
/* redefining symbol "%.*s" as a metaclass name */
664
#define TCERR_REDEF_INTRINS_NAME 11124
666
/* cannot evaluate metaclass symbol */
667
#define TCERR_CANNOT_EVAL_METACLASS 11125
669
/* expected 'property' or object name after 'dictionary', but found "%.*s" */
670
#define TCERR_DICT_SYNTAX 11126
672
/* expected property name in 'dictionary property' list, but found "%.*s" */
673
#define TCERR_DICT_PROP_REQ_SYM 11127
675
/* expected comma in 'dictionary property' list, but found "%.*s" */
676
#define TCERR_DICT_PROP_REQ_COMMA 11128
678
/* redefining object "%.*s" as dictionary */
679
#define TCERR_REDEF_AS_DICT 11129
681
/* undefined symbol "%.*s" (used as superclass of "%.*s") */
682
#define TCERR_UNDEF_SYM_SC 11130
684
/* vocabulary property requires one or more single-quoted string values */
685
#define TCERR_VOCAB_REQ_SSTR 11131
687
/* vocabulary property cannot be used without a dictionary */
688
#define TCERR_VOCAB_NO_DICT 11132
690
/* list varargs parameter not last */
691
#define TCERR_LISTPAR_NOT_LAST 11133
693
/* expected ']' after list varargs parameter name, found "%.*s" */
694
#define TCERR_LISTPAR_REQ_RBRACK 11134
696
/* expected list varargs parameter name, but found "%.*s" */
697
#define TCERR_LISTPAR_REQ_SYM 11135
699
/* anonymous functions are not allowed in the debugger */
700
#define TCERR_DBG_NO_ANON_FUNC 11136
702
/* anonymous function requires 'new' */
703
#define TCERR_ANON_FUNC_REQ_NEW 11137
705
/* expected production name after 'grammar' */
706
#define TCERR_GRAMMAR_REQ_SYM 11138
708
/* expected colon after production name in 'grammar' statement */
709
#define TCERR_GRAMMAR_REQ_COLON 11139
711
/* expected object or property name in 'grammar' token list, found "%.*s" */
712
#define TCERR_GRAMMAR_REQ_OBJ_OR_PROP 11140
714
/* property name must follow '->' in 'grammar' statement, found "%.*s" */
715
#define TCERR_GRAMMAR_ARROW_REQ_PROP 11141
717
/* invalid token list entry "%.*s" */
718
#define TCERR_GRAMMAR_INVAL_TOK 11142
720
/* redefining object "%.*s" as grammar production */
721
#define TCERR_REDEF_AS_GRAMPROD 11143
723
/* object "%.*s" is not valid in a grammar list (only productions allowed) */
724
#define TCERR_GRAMMAR_REQ_PROD 11144
726
/* symbol expected in enum list, but found "%.*s" */
727
#define TCERR_ENUM_REQ_SYM 11145
729
/* symbol "%.*s" is already defined - can't use as an enum name */
730
#define TCERR_REDEF_AS_ENUM 11146
732
/* comma expected in 'enum' symbol list, but found "%.*s" */
733
#define TCERR_ENUM_REQ_COMMA 11147
735
/* enumerator "%.*s" in 'grammar' list must be declare with 'enum token' */
736
#define TCERR_GRAMMAR_BAD_ENUM 11148
738
/* '*' must be the last token in a 'grammar' alt list - found "%.*s" */
739
#define TCERR_GRAMMAR_STAR_NOT_END 11149
741
/* grammar qualifiers must precede all tokens in the alternative */
742
#define TCERR_GRAMMAR_QUAL_NOT_FIRST 11150
744
/* symbol required in grammar qualifier - found "%.*s" */
745
#define TCERR_GRAMMAR_QUAL_REQ_SYM 11151
747
/* invalid grammar qualifier "%.*s" */
748
#define TCERR_BAD_GRAMMAR_QUAL 11152
750
/* integer constant required for grammar qualifier "%s" */
751
#define TCERR_GRAMMAR_QUAL_REQ_INT 11153
753
/* ']' required at end of grammar qualifier - found "%.*s" */
754
#define TCERR_GRAMMAR_QUAL_REQ_RBRACK 11154
756
/* '+ property' statement requires symbol, found "%.*s" instead */
757
#define TCERR_PLUSPROP_REQ_SYM 11155
759
/* too many '+' signs - location is not defined */
760
#define TCERR_PLUSOBJ_TOO_MANY 11156
762
/* property name required after "%s" in object template, but found "%.*s" */
763
#define TCERR_OBJ_TPL_OP_REQ_PROP 11157
765
/* property name required in string in object template, but found "%.*s" */
766
#define TCERR_OBJ_TPL_STR_REQ_PROP 11158
768
/* ']' required after list property in object template, found "%.*s" */
769
#define TCERR_OBJ_TPL_REQ_RBRACK 11159
771
/* invalid 'object template' syntax - "%.*s" */
772
#define TCERR_OBJ_TPL_BAD_TOK 11160
774
/* symbol \"%.*s\" in object template is not a property */
775
#define TCERR_OBJ_TPL_SYM_NOT_PROP 11161
777
/* object definition does not match any object template */
778
#define TCERR_OBJ_DEF_NO_TEMPLATE 11162
780
/* dictionary properties are not valid in object templates */
781
#define TCERR_OBJ_TPL_NO_VOCAB 11163
783
/* property duplicated in template list */
784
#define TCERR_OBJ_TPL_PROP_DUP 11164
786
/* metaclass is already defined as intrinsic class "%.*s" */
787
#define TCERR_META_ALREADY_DEF 11165
789
/* missing ';' at end of object definition - found "%.*s" */
790
#define TCERR_OBJ_DEF_REQ_SEM 11166
792
/* expected a statement, but found "%.*s" */
793
#define TCERR_EXPECTED_STMT_START 11167
795
/* missing colon at end of short anonymous function formals - found "%.*s" */
796
#define TCERR_MISSING_COLON_FORMAL 11168
798
/* semicolon is not allowed in a short anonymous function */
799
#define TCERR_SEM_IN_SHORT_ANON_FN 11169
801
/* close brace missing at end of anonymous function */
802
#define TCERR_SHORT_ANON_FN_REQ_RBRACE 11170
804
/* '(' required after 'in' operator */
805
#define TCERR_IN_REQ_LPAR 11171
807
/* expected comma in 'in' list */
808
#define TCERR_EXPECTED_IN_COMMA 11172
810
/* missing ')' at end of 'in' list */
811
#define TCERR_EXPECTED_IN_RPAR 11173
813
/* cannot modify or replace objects of this type */
814
#define TCERR_CANNOT_MOD_OR_REP_TYPE 11174
816
/* expected '(' after 'foreach', but found "%.*s" */
817
#define TCERR_REQ_FOREACH_LPAR 11175
819
/* missing expression in 'foreach' - found "%.*s" */
820
#define TCERR_MISSING_FOREACH_EXPR 11176
822
/* 'in' required in 'foreach' - found "%.*s" */
823
#define TCERR_FOREACH_REQ_IN 11177
825
/* missing ')' at end of 'for' statement expression list */
826
#define TCERR_REQ_FOREACH_RPAR 11178
828
/* property declaration requires symbol, but found "%.*s" */
829
#define TCERR_PROPDECL_REQ_SYM 11179
831
/* property declaration requires comma, but found "%.*s" */
832
#define TCERR_PROPDECL_REQ_COMMA 11180
834
/* expected symbol in 'export' statement, but found "%.*s" */
835
#define TCERR_EXPORT_REQ_SYM 11181
837
/* external name "%.*s" too long in 'export' statement */
838
#define TCERR_EXPORT_EXT_TOO_LONG 11182
840
/* unterminated object definition */
841
#define TCERR_UNTERM_OBJ_DEF 11183
843
/* missing right brace at end of object definition - found "%.*s" */
844
#define TCERR_OBJ_DEF_REQ_RBRACE 11184
846
/* right paren required after name-tag in 'grammar' - found "%.*s" */
847
#define TCERR_GRAMMAR_REQ_NAME_RPAR 11185
849
/* open brace required for propertyset - found "%.*s" */
850
#define TCERR_PROPSET_REQ_LBRACE 11186
852
/* right paren expected at end of group - found "%.*s" */
853
#define TCERR_GRAMMAR_REQ_RPAR_AFTER_GROUP 11187
855
/* '->' not allowed after parenthesized group in 'grammar' statement */
856
#define TCERR_GRAMMAR_GROUP_ARROW_NOT_ALLOWED 11188
858
/* cannot use template with unimported extern class as superclass */
859
#define TCERR_OBJ_DEF_CANNOT_USE_TEMPLATE 11189
861
/* superclass list missing for 'replace' object definition */
862
#define TCERR_REPLACE_OBJ_REQ_SC 11190
864
/* propertyset nesting too deep */
865
#define TCERR_PROPSET_TOO_DEEP 11191
867
/* propertyset token expansion too large */
868
#define TCERR_PROPSET_TOK_TOO_LONG 11192
870
/* invalid pattern string for propertyset - "%.*s" */
871
#define TCERR_PROPSET_INVAL_PAT 11193
873
/* invalid propertyset formal parameter list */
874
#define TCERR_PROPSET_INVAL_FORMALS 11194
876
/* circular class definition - "%.*s" is a subclass of "%.*s" */
877
#define TCERR_CIRCULAR_CLASS_DEF 11195
879
/* property required in part-of-speech list in 'grammar', but found "%.*s" */
880
#define TCERR_GRAMMAR_LIST_REQ_PROP 11196
882
/* missing '>' in 'grammar' property list - found "%.*s" */
883
#define TCERR_GRAMMAR_LIST_UNCLOSED 11197
885
/* invalid indexed type in constant expression (expected list) */
886
#define TCERR_CONST_IDX_INV_TYPE 11198
888
/* 'transient' is not allowed here (expected object definition) */
889
#define TCERR_INVAL_TRANSIENT 11199
891
/* 'modify/replace grammar' can only be applied to tagged rule name */
892
#define TCERR_GRAMMAR_MOD_REQ_TAG 11200
894
/* intrinsic superclass name expected after colon, but found "%.*s" */
895
#define TCERR_REQ_INTRINS_SUPERCLASS_NAME 11201
897
/* intrinsic superclass "%.*s" undefined */
898
#define TCERR_INTRINS_SUPERCLASS_UNDEF 11202
900
/* grammar rule ends with '|' */
901
#define TCERR_GRAMMAR_ENDS_WITH_OR 11203
903
/* grammar rule is completely empty */
904
#define TCERR_GRAMMAR_EMPTY 11204
906
/* empty template definition */
907
#define TCERR_TEMPLATE_EMPTY 11205
909
/* expected ')' after 'if' condition, but found "%.*s" */
910
#define TCERR_REQ_RPAR_IF 11206
912
/* intrinsic class superclass "%.*s" is not an intrinsic class */
913
#define TCERR_INTRINS_SUPERCLASS_NOT_INTRINS 11207
915
/* function redefined as multimethod */
916
#define TCERR_FUNC_REDEF_AS_MULTIMETHOD 11208
918
/* "multimethod" declaration not allowed in this context */
919
#define TCERR_MULTIMETHOD_NOT_ALLOWED 11209
921
/* multi-method parameter type %.*s is not an object */
922
#define TCERR_MMPARAM_NOT_OBJECT 11210
924
/* type name missing in inherited<> type list */
925
#define TCERR_MMINH_MISSING_ARG_TYPE 11211
927
/* comma is missing in inherited<> type list */
928
#define TCERR_MMINH_MISSING_COMMA 11212
930
/* '>' is missing at end of inherited<> type list */
931
#define TCERR_MMINH_MISSING_GT 11213
933
/* argument list is missing after inherited<> */
934
#define TCERR_MMINH_MISSING_ARG_LIST 11214
937
/* ------------------------------------------------------------------------ */
939
* General Code Generator Errors
942
/* out of memory for code generation */
943
#define TCERR_CODEGEN_NO_MEM 11500
945
/* internal error: %d unresolved temporary label fixups */
946
#define TCERR_UNRES_TMP_FIXUP 11501
948
/* internal error: attempting to write past end of code stream */
949
#define TCERR_WRITEAT_PAST_END 11502
951
/* "self" is not valid in this context */
952
#define TCERR_SELF_NOT_AVAIL 11503
954
/* "inherited" is not valid in this context */
955
#define TCERR_INH_NOT_AVAIL 11504
957
/* no address for symbol "%.*s" */
958
#define TCERR_NO_ADDR_SYM 11505
960
/* cannot assign to symbol "%.*s" */
961
#define TCERR_CANNOT_ASSIGN_SYM 11506
963
/* cannot evaluate a code label ("%.*s") */
964
#define TCERR_CANNOT_EVAL_LABEL 11507
966
/* cannot call symbol "%.*s" */
967
#define TCERR_CANNOT_CALL_SYM 11508
969
/* cannot call property "%.*s" without explicit object (no "self") */
970
#define TCERR_PROP_NEEDS_OBJ 11509
972
/* "%.*s" has no return value to be used in an expression */
973
#define TCERR_VOID_RETURN_IN_EXPR 11510
975
/* '&' operator cannot be used with function name */
976
#define TCERR_INVAL_FUNC_ADDR 11511
978
/* cannot apply operator 'new' to this expression */
979
#define TCERR_INVAL_NEW_EXPR 11512
981
/* not enough arguments to function "%.*s" */
982
#define TCERR_TOO_FEW_FUNC_ARGS 11513
984
/* too many arguments to function "%.*s" */
985
#define TCERR_TOO_MANY_FUNC_ARGS 11514
987
/* assigning to "%.*s" needs object */
988
#define TCERR_SETPROP_NEEDS_OBJ 11515
990
/* symbol "%.*s" is not a property - illegal on right side of '.' */
991
#define TCERR_SYM_NOT_PROP 11516
993
/* invalid property expression - right side of '.' is not a property */
994
#define TCERR_INVAL_PROP_EXPR 11517
996
/* illegal inherited syntax - "%.*s" is not an object */
997
#define TCERR_INH_NOT_OBJ 11518
999
/* invalid object expression - left side of '.' is not an object */
1000
#define TCERR_INVAL_OBJ_EXPR 11519
1002
/* symbol "%.*s" is not an object - illegal on left of '.' */
1003
#define TCERR_SYM_NOT_OBJ 11520
1005
/* "if" condition is always true */
1006
#define TCERR_IF_ALWAYS_TRUE 11521
1008
/* "if" condition is always false */
1009
#define TCERR_IF_ALWAYS_FALSE 11522
1011
/* invalid "break" - not in a loop or switch */
1012
#define TCERR_INVALID_BREAK 11523
1014
/* invalid "continue" - not in a loop */
1015
#define TCERR_INVALID_CONTINUE 11524
1017
/* entrypoint function "_main" is not defined */
1018
#define TCERR_MAIN_NOT_DEFINED 11525
1020
/* "_main" is not a function */
1021
#define TCERR_MAIN_NOT_FUNC 11526
1023
/* exception class symbol "%.*s" in "catch" clause is not an object */
1024
#define TCERR_CATCH_EXC_NOT_OBJ 11527
1026
/* invalid 'break' - no label \"%.*s\" on any enclosing statement */
1027
#define TCERR_INVALID_BREAK_LBL 11528
1029
/* invalid 'continue' - no label \"%.*s\" on any enclosing statement */
1030
#define TCERR_INVALID_CONT_LBL 11529
1032
/* 'goto' label "%.*s" is not defined in this function */
1033
#define TCERR_INVALID_GOTO_LBL 11530
1035
/* unresolved external reference "%.*s" */
1036
#define TCERR_UNRESOLVED_EXTERN 11531
1038
/* label "%.*s" is never referenced */
1039
#define TCERR_UNREFERENCED_LABEL 11532
1041
/* local variable "%.*s" is never referenced */
1042
#define TCERR_UNREFERENCED_LOCAL 11533
1044
/* local variable "%.*s" never has a value assigned */
1045
#define TCERR_UNASSIGNED_LOCAL 11534
1047
/* local variable "%.*s" is assigned a value that is never used */
1048
#define TCERR_UNUSED_LOCAL_ASSIGNMENT 11535
1050
/* superclass "%.*s" is not an object */
1051
#define TCERR_SC_NOT_OBJECT 11536
1053
/* argument expression %d has no value */
1054
#define TCERR_ARG_EXPR_HAS_NO_VAL 11537
1056
/* expression on right of assignment operator has no value */
1057
#define TCERR_ASI_EXPR_HAS_NO_VAL 11538
1059
/* wrong number of arguments to function %.*s: %d required, %d actual */
1060
#define TCERR_WRONG_ARGC_FOR_FUNC 11539
1062
/* transfer into 'finally' block via 'goto' is not allowed */
1063
#define TCERR_GOTO_INTO_FINALLY 11540
1065
/* parameter "%.*s" is never referenced */
1066
#define TCERR_UNREFERENCED_PARAM 11541
1068
/* grammar production "%.*s" has no alternatives defined */
1069
#define TCERR_GRAMPROD_HAS_NO_ALTS 11542
1071
/* intrinsic class property "%.*s" cannot be modified */
1072
#define TCERR_CANNOT_MOD_META_PROP 11543
1074
/* Collection.createIterator() is not defined - foreach() cannot be used */
1075
#define TCERR_FOREACH_NO_CREATEITER 11544
1077
/* Iterator.getNext() is not defined - foreach() cannot be used */
1078
#define TCERR_FOREACH_NO_GETNEXT 11545
1080
/* Iterator.isNextAvailable() is not defined - foreach() cannot be used */
1081
#define TCERR_FOREACH_NO_ISNEXTAVAIL 11546
1083
/* invalid type for export */
1084
#define TCERR_INVALID_TYPE_FOR_EXPORT 11547
1086
/* duplicate export - extern name "%.*s", internal names "%.*s" and "%.*s" */
1087
#define TCERR_DUP_EXPORT 11548
1089
/* another duplicate export for extern name "%.*s", internal name "%.*s" */
1090
#define TCERR_DUP_EXPORT_AGAIN 11549
1092
/* "targetprop" is not valid in this context */
1093
#define TCERR_TARGETPROP_NOT_AVAIL 11550
1095
/* "targetobj" is not valid in this context */
1096
#define TCERR_TARGETOBJ_NOT_AVAIL 11551
1098
/* "definingobj" is not valid in this context */
1099
#define TCERR_DEFININGOBJ_NOT_AVAIL 11552
1101
/* cannot call constant expression */
1102
#define TCERR_CANNOT_CALL_CONST 11553
1104
/* "replaced" is not valid in this context */
1105
#define TCERR_REPLACED_NOT_AVAIL 11554
1107
/* grammar production "%.*s" has too many alternatives defined */
1108
#define TCERR_GRAMPROD_TOO_MANY_ALTS 11555
1110
/* cannot apply 'new' to this symbol (not a TadsObject object) */
1111
#define TCERR_BAD_META_FOR_NEW 11556
1113
/* inherited<> type token is not an object name */
1114
#define TCERR_MMINH_TYPE_NOT_OBJ 11557
1116
/* inherited<> invalid in this context */
1117
#define TCERR_MMINH_BAD_CONTEXT 11558
1119
/* multi-method 'inherited' missing support function %.*s */
1120
#define TCERR_MMINH_MISSING_SUPPORT_FUNC 11559
1122
/* inherited<> function not found */
1123
#define TCERR_MMINH_UNDEF_FUNC 11560
1126
/* ------------------------------------------------------------------------ */
1128
* Errors related to symbol export files
1132
* invalid symbol type in symbol file - file is corrupted or was created
1133
* by an incompatible version of the compiler
1135
#define TCERR_SYMEXP_INV_TYPE 11700
1137
/* invalid symbol file signature */
1138
#define TCERR_SYMEXP_INV_SIG 11701
1140
/* symbol name too long in symbol file */
1141
#define TCERR_SYMEXP_SYM_TOO_LONG 11702
1144
* symbol "%.*s" found in symbol file is already defined; ignoring the
1147
#define TCERR_SYMEXP_REDEF 11703
1150
/* ------------------------------------------------------------------------ */
1152
* Errors related to object files
1155
/* invalid object file signature */
1156
#define TCERR_OBJFILE_INV_SIG 11800
1158
/* too many object/property ID's for this platform */
1159
#define TCERR_OBJFILE_TOO_MANY_IDS 11801
1161
/* out of memory loading object file */
1162
#define TCERR_OBJFILE_OUT_OF_MEM 11802
1164
/* invalid symbol type in object file */
1165
#define TCERR_OBJFILE_INV_TYPE 11803
1167
/* symbol %.*s (type %s) redefined (type %s) in object file "%s" */
1168
#define TCERR_OBJFILE_REDEF_SYM_TYPE 11804
1170
/* symbol %.*s (type %s) redefined in object file "%s" */
1171
#define TCERR_OBJFILE_REDEF_SYM 11805
1173
/* built-in function %.*s has different definition in object file "%s" */
1174
#define TCERR_OBJFILE_BIF_INCOMPAT 11806
1176
/* function %.*s has different definition in object file "%s" */
1177
#define TCERR_OBJFILE_FUNC_INCOMPAT 11807
1179
/* internal symbol reference \"%.*s\" missing in object file %s */
1180
#define TCERR_OBJFILE_INT_SYM_MISSING 11808
1182
/* invalid stream ID in object file %s */
1183
#define TCERR_OBJFILE_INVAL_STREAM_ID 11809
1185
/* invalid object ID in object file %s */
1186
#define TCERR_OBJFILE_INVAL_OBJ_ID 11810
1188
/* invalid property ID in object file %s */
1189
#define TCERR_OBJFILE_INVAL_PROP_ID 11811
1191
/* function set/metaclass entry is invalid in object file "%s" */
1192
#define TCERR_OBJFILE_INV_FN_OR_META 11812
1194
/* conflicting function set "%s" in object file "%s" */
1195
#define TCERR_OBJFILE_FNSET_CONFLICT 11813
1197
/* conflicting metaclass "%s" in object file "%s" */
1198
#define TCERR_OBJFILE_META_CONFLICT 11814
1200
/* modified or replaced object %.*s found before original in object file %s */
1201
#define TCERR_OBJFILE_MODREPOBJ_BEFORE_ORIG 11815
1203
/* replaced function %.*s found before original in object file %s */
1204
#define TCERR_OBJFILE_REPFUNC_BEFORE_ORIG 11816
1206
/* "construct" cannot return a value */
1207
#define TCERR_CONSTRUCT_CANNOT_RET_VAL 11817
1210
* object file doesn't contain debugging information (required because
1211
* we're linking for debugging)
1213
#define TCERR_OBJFILE_NO_DBG 11818
1215
/* metaclass prop "%.*s" in does not match original "%.*s" in obj file %s */
1216
#define TCERR_OBJFILE_METACLASS_PROP_CONFLICT 11819
1218
/* metaclass index conflict in object file %s */
1219
#define TCERR_OBJFILE_METACLASS_IDX_CONFLICT 11820
1221
/* cannot modify or replace object of this type - %.*s in object file %s */
1222
#define TCERR_OBJFILE_CANNOT_MOD_OR_REP_TYPE 11821
1224
/* exported symbol too long in object file */
1225
#define TCERR_EXPORT_SYM_TOO_LONG 11822
1227
/* macro name too long in object file debug records */
1228
#define TCERR_OBJFILE_MACRO_SYM_TOO_LONG 11823
1230
/* conflicting definitions of %.*s as ordinary function and as multi-method */
1231
#define TCERR_OBJFILE_MMFUNC_INCOMPAT 11824
1233
/* multi-method parameter type %.*s in function %.*s is not an object */
1234
#define TCERR_OBJFILE_MMPARAM_NOT_OBJECT 11825
1236
/* multi-method registration function %s is missing or invalid */
1237
#define TCERR_MISSING_MMREG 11826
1240
/* ------------------------------------------------------------------------ */
1242
* T3 Code Generator Errors
1245
/* constant string or list exceeds 32k - won't run on 16-bit machines */
1246
#define TCERR_CONST_POOL_OVER_32K 15001
1248
/* internal error: constant too large for page */
1249
#define TCERR_CONST_TOO_LARGE_FOR_PG 15002
1251
/* internal error: corrupted list */
1252
#define TCERR_CORRUPT_LIST 15003
1254
/* internal error: 'inherited' codegen */
1255
#define TCERR_GEN_CODE_INH 15004
1257
/* internal error: unknown constant type in code generation */
1258
#define TCERR_GEN_UNK_CONST_TYPE 15005
1260
/* internal error: attempting to generate code for non-lvalue */
1261
#define TCERR_GEN_BAD_LVALUE 15006
1263
/* internal error: attempting to generate address for non-addressable */
1264
#define TCERR_GEN_BAD_ADDR 15007
1266
/* too many arguments to function (maximum of 127 allowed) */
1267
#define TCERR_TOO_MANY_CALL_ARGS 15008
1269
/* too many arguments to constructor (maximum of 126 allowed) */
1270
#define TCERR_TOO_MANY_CTOR_ARGS 15009
1272
/* internal error: 'delegated' codegen */
1273
#define TCERR_GEN_CODE_DELEGATED 15010
1275
/* code block exceeds 32k - won't run on 16-bit machines */
1276
#define TCERR_CODE_POOL_OVER_32K 15011
1278
/* internal error: 'case' or 'default' out of place or non-const expression */
1279
#define TCERR_GEN_BAD_CASE 15012
1281
/* internal error: 'catch' or 'finally' gen_code called directly */
1282
#define TCERR_CATCH_FINALLY_GEN_CODE 15013
1284
/* internal error: property value has invalid type for code generation */
1285
#define TCERR_INVAL_PROP_CODE_GEN 15014
1287
/* symbol "%.*s" cannot be exported - reserved for compiler use */
1288
#define TCERR_RESERVED_EXPORT 15015
1290
/* unused - 15016 */
1292
/* property 'construct' is not defined */
1293
#define TCERR_CONSTRUCT_NOT_DEFINED 15017
1295
/* 'construct' is not a property */
1296
#define TCERR_CONSTRUCT_NOT_PROP 15018
1298
/* property 'finalize' is not defined */
1299
#define TCERR_FINALIZE_NOT_DEFINED 15019
1301
/* 'finalize' is not a property */
1302
#define TCERR_FINALIZE_NOT_PROP 15020
1305
/* ------------------------------------------------------------------------ */
1307
* Javascript code generator errors
1310
/* invalid expression template */
1311
#define TCERR_BAD_JS_TPL 16000
1313
/* expression template expansion overflow */
1314
#define TCERR_JS_EXPR_EXPAN_OVF 16001
1317
#endif /* TCERRNUM_H */