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 
214 /* ------------------------------------------------------------------------ */
215 /*
216  *   General Messages
217  */
218 
219 /* internal error explanation */
220 #define TCERR_INTERNAL_EXPLAN     10500
221 
222 /*
223  *   internal error - after we log an internal error, we'll throw this
224  *   generic error code; since internal errors are unrecoverable, any
225  *   frames that catch this error should simply clean up and terminate as
226  *   gracefully as possible
227  */
228 #define TCERR_INTERNAL_ERROR      10501
229 
230 /*
231  *   fatal error - after we log a fatal error, we'll throw this generic
232  *   error code; any frames that catch this error should simply clean up
233  *   and terminate
234  */
235 #define TCERR_FATAL_ERROR         10502
236 
237 
238 /* ------------------------------------------------------------------------ */
239 /*
240  *   "Make" errors
241  */
242 
243 /* cannot create symbol file "%s" */
244 #define TCERR_MAKE_CANNOT_CREATE_SYM 10600
245 
246 /* cannot create object file "%s" */
247 #define TCERR_MAKE_CANNOT_CREATE_OBJ 10601
248 
249 /* cannot create image file "%s" */
250 #define TCERR_MAKE_CANNOT_CREATE_IMG 10602
251 
252 /* cannot open symbol file "%s" for reading */
253 #define TCERR_MAKE_CANNOT_OPEN_SYM 10603
254 
255 /* cannot open object file "%s" for reading */
256 #define TCERR_MAKE_CANNOT_OPEN_OBJ 10604
257 
258 /* cannot open image file "%s" */
259 #define TCERR_MAKE_CANNOT_OPEN_IMG 10605
260 
261 /* maximum error count exceeded */
262 #define TCERR_TOO_MANY_ERRORS      10606
263 
264 /* same name used for more than one source module */
265 #define TCERR_MODULE_NAME_COLLISION   10607
266 
267 /* same name used for module as for module from a given library */
268 #define TCERR_MODULE_NAME_COLLISION_WITH_LIB  10608
269 
270 /* "source-file-name (from library library-name)" */
271 #define TCERR_SOURCE_FROM_LIB      10609
272 
273 
274 /* ------------------------------------------------------------------------ */
275 /*
276  *   Parsing Errors
277  */
278 
279 /* divide by zero in constant expression */
280 #define TCERR_CONST_DIV_ZERO      11001
281 
282 /* out of memory for parse tree block */
283 #define TCERR_NO_MEM_PRS_TREE     11002
284 
285 /* parse tree node too large (size = %ld) (internal error) */
286 #define TCERR_PRS_BLK_TOO_BIG     11003
287 
288 /* invalid lvalue (operator "%s") */
289 #define TCERR_INVALID_LVALUE      11004
290 
291 /* expected ':' in '?' operator expression */
292 #define TCERR_QUEST_WITHOUT_COLON 11005
293 
294 /* invalid lvalue for unary operator (++ or --) */
295 #define TCERR_INVALID_UNARY_LVALUE 11006
296 
297 /* operator delete is obsolete */
298 #define TCERR_DELETE_OBSOLETE     11007
299 
300 /* can't take address of expression */
301 #define TCERR_NO_ADDRESS          11008
302 
303 /* invalid constant type for unary '%s': number required */
304 #define TCERR_CONST_UNARY_REQ_NUM 11009
305 
306 /* invalid constant type for binary '%s': number required */
307 #define TCERR_CONST_BINARY_REQ_NUM 11010
308 
309 /* incompatible constant types for '+' operator */
310 #define TCERR_CONST_BINPLUS_INCOMPAT 11011
311 
312 /* missing ')' in expression */
313 #define TCERR_EXPR_MISSING_RPAR   11012
314 
315 /* invalid primary expression */
316 #define TCERR_BAD_PRIMARY_EXPR    11013
317 
318 /* constant types are not comparable */
319 #define TCERR_CONST_BAD_COMPARE   11014
320 
321 /* expected ';', found "%.*s" */
322 #define TCERR_EXPECTED_SEMI       11015
323 
324 /* expected ">>" and the continuation of the string, found "%.*s" */
325 #define TCERR_EXPECTED_DSTR_CONT  11016
326 
327 /* expected ',' in argument list, found "%.*s" */
328 #define TCERR_EXPECTED_ARG_COMMA  11017
329 
330 /* expected ']' in subscript, found "%.*s" */
331 #define TCERR_EXPECTED_SUB_RBRACK 11018
332 
333 /* invalid expression after '.' - property name or expression required */
334 #define TCERR_INVALID_PROP_EXPR   11019
335 
336 /* found "%.*s" in list, assuming that list is missing ']' */
337 #define TCERR_LIST_MISSING_RBRACK 11020
338 
339 /* extraneous ')' in list */
340 #define TCERR_LIST_EXTRA_RPAR     11021
341 
342 /* expected ',' separating list elements, but found "%.*s" */
343 #define TCERR_LIST_EXPECT_COMMA   11022
344 
345 /* constant list index value must be an integer value */
346 #define TCERR_CONST_IDX_NOT_INT   11023
347 
348 /* constant list index out of range */
349 #define TCERR_CONST_IDX_RANGE     11024
350 
351 /* unterminated string (string started with %c%*.s%c) */
352 #define TCERR_UNTERM_STRING       11025
353 
354 /* missing ')' in argument list */
355 #define TCERR_EXPECTED_ARG_RPAR   11026
356 
357 /* extra ')' - ignoring */
358 #define TCERR_EXTRA_RPAR          11027
359 
360 /* extra ']' - ignoring */
361 #define TCERR_EXTRA_RBRACK        11028
362 
363 /* expected operand, found '%s' */
364 #define TCERR_EXPECTED_OPERAND    11029
365 
366 /* expected property name pattern string after 'propertyset', found "%.*s" */
367 #define TCERR_PROPSET_REQ_STR     11030
368 
369 /* invalid "inherited class" syntax - expected '.', found "%.*s" */
370 #define TCERR_INH_CLASS_SYNTAX    11031
371 
372 /* undefined symbol "%.*s" */
373 #define TCERR_UNDEF_SYM           11032
374 
375 /* undefined symbol "%.*s" - assuming that it's a property */
376 #define TCERR_ASSUME_SYM_PROP     11033
377 
378 /* incompatible constant types for '-' operator */
379 #define TCERR_CONST_BINMINUS_INCOMPAT 11034
380 
381 /* expected a symbol in formal parameter list, found "%.*s" */
382 #define TCERR_REQ_SYM_FORMAL      11035
383 
384 /* expected a comma in formal parameter list, found "%.*s" */
385 #define TCERR_REQ_COMMA_FORMAL    11036
386 
387 /* missing parameter at end of formal parameter list */
388 #define TCERR_MISSING_LAST_FORMAL 11037
389 
390 /* missing right paren at end of formal parameter list (found "%.*s") */
391 #define TCERR_MISSING_RPAR_FORMAL 11038
392 
393 /* formal parameter "%.*s" defined more than once */
394 #define TCERR_FORMAL_REDEF        11039
395 
396 /* '=' in method definition is obsolete */
397 #define TCERR_EQ_WITH_METHOD_OBSOLETE 11040
398 
399 /* '{' required at the start of code body - found "%.*s" */
400 #define TCERR_REQ_LBRACE_CODE     11041
401 
402 /* unexpected end of file - '}' required */
403 #define TCERR_EOF_IN_CODE         11042
404 
405 /* expected '(' after 'if', but found "%.*s" */
406 #define TCERR_REQ_LPAR_IF         11043
407 
408 /* expected ')' after 'if' condition, but found "%.*s" */
409 #define TCERR_REQ_RPAR_IF         11043
410 
411 /* misplaced 'else' */
412 #define TCERR_MISPLACED_ELSE      11044
413 
414 /* misplaced 'case' */
415 #define TCERR_MISPLACED_CASE      11045
416 
417 /* misplaced 'default' */
418 #define TCERR_MISPLACED_DEFAULT   11046
419 
420 /* ellipsis must be the last formal parameter */
421 #define TCERR_ELLIPSIS_NOT_LAST   11047
422 
423 /* expected ',' or ';' after symbol, but found "%.*s" */
424 #define TCERR_LOCAL_REQ_COMMA     11048
425 
426 /* expected symbol name in local variable definition, but found "%.*s" */
427 #define TCERR_LOCAL_REQ_SYM       11049
428 
429 /* expected symbol name in function defintion */
430 #define TCERR_FUNC_REQ_SYM        11050
431 
432 /* expected code body */
433 #define TCERR_REQ_CODE_BODY       11051
434 
435 /* expected function or object definition */
436 #define TCERR_REQ_FUNC_OR_OBJ     11052
437 
438 /* expected ';' or expression after 'return', but found "%.*s" */
439 #define TCERR_RET_REQ_EXPR        11053
440 
441 /* unreachable code */
442 #define TCERR_UNREACHABLE_CODE    11054
443 
444 /* code has 'return' statements both with and without values */
445 #define TCERR_RET_VAL_AND_VOID    11055
446 
447 /* code has value returns but also falls off end */
448 #define TCERR_RET_VAL_AND_IMP_VOID 11056
449 
450 /* function set name expected after 'intrinsic' keyword, but found "%.*s" */
451 #define TCERR_REQ_INTRINS_NAME    11057
452 
453 /* open brace required ater intrinsic function set name */
454 #define TCERR_REQ_INTRINS_LBRACE  11058
455 
456 /* end of file in 'intrinsic' function set list */
457 #define TCERR_EOF_IN_INTRINS      11059
458 
459 /* missing open paren after function name in 'instrinsic' - found "%.*s" */
460 #define TCERR_REQ_INTRINS_LPAR    11060
461 
462 /* expected function name in 'intrinsic' list, but found "%.*s" */
463 #define TCERR_REQ_INTRINS_SYM     11061
464 
465 /* expected '(' after 'for', but found "%.*s" */
466 #define TCERR_REQ_FOR_LPAR        11062
467 
468 /* local variable "%.*s" is already defined in this scope */
469 #define TCERR_LOCAL_REDEF         11063
470 
471 /* initializer is required for "local" in "for" - found "%.*s" */
472 #define TCERR_REQ_FOR_LOCAL_INIT  11064
473 
474 /* missing expression after ',' in "for" initializer */
475 #define TCERR_MISSING_FOR_INIT_EXPR 11065
476 
477 /* missing expression in "for" statement */
478 #define TCERR_MISSING_FOR_PART    11066
479 
480 /* ',' or ';' expected in "for" initializer, but found "%.*s" */
481 #define TCERR_REQ_FOR_INIT_COMMA  11067
482 
483 /* ';' expected in "for" after condition expression, but found "%.*s" */
484 #define TCERR_REQ_FOR_COND_SEM    11068
485 
486 /* missing ')' at end of 'for' statement expression list */
487 #define TCERR_REQ_FOR_RPAR        11069
488 
489 /* "for" condition is always false - reinitializer and body are unreachable */
490 #define TCERR_FOR_COND_FALSE      11070
491 
492 /* '(' missing after 'while' - found "%.*s" instead */
493 #define TCERR_REQ_WHILE_LPAR      11071
494 
495 /* ')' missing at end of 'while' expression - found "%.*s" instead */
496 #define TCERR_REQ_WHILE_RPAR      11072
497 
498 /* "while" condition is always false - body is unreachable */
499 #define TCERR_WHILE_COND_FALSE    11073
500 
501 /* "while" missing in "do" statement (found "%.*s" instead) */
502 #define TCERR_REQ_DO_WHILE        11074
503 
504 /* misplaced "catch" - not part of "try" */
505 #define TCERR_MISPLACED_CATCH     11075
506 
507 /* misplaced "finally" - not part of "try" */
508 #define TCERR_MISPLACED_FINALLY   11076
509 
510 /* '(' missing after 'switch' - found "%.*s" instead */
511 #define TCERR_REQ_SWITCH_LPAR     11077
512 
513 /* ')' missing at end of 'switch' expression - found "%.*s" instead */
514 #define TCERR_REQ_SWITCH_RPAR     11078
515 
516 /* '{' missing after 'switch' expression - found "%.*s" instead */
517 #define TCERR_REQ_SWITCH_LBRACE   11079
518 
519 /* code preceding first 'case' or 'default' label in switch is not allowed */
520 #define TCERR_UNREACHABLE_CODE_IN_SWITCH 11080
521 
522 /* end of file in switch body */
523 #define TCERR_EOF_IN_SWITCH       11081
524 
525 /* duplicate code label "%.*s" */
526 #define TCERR_CODE_LABEL_REDEF    11082
527 
528 /* ':' missing after 'case' expression - found "%.*s" instead */
529 #define TCERR_REQ_CASE_COLON      11083
530 
531 /* 'case' expression has a non-constant value */
532 #define TCERR_CASE_NOT_CONSTANT   11084
533 
534 /* ':' missing after 'default' - found "%.*s" instead */
535 #define TCERR_REQ_DEFAULT_COLON   11085
536 
537 /* switch already has 'default' label */
538 #define TCERR_DEFAULT_REDEF       11086
539 
540 /* 'try' has no 'catch' or 'finally' clauses */
541 #define TCERR_TRY_WITHOUT_CATCH   11087
542 
543 /* '(' required after 'catch' - found "%.*s" instead */
544 #define TCERR_REQ_CATCH_LPAR      11088
545 
546 /* ')' required after 'catch' variable name - found "%.*s" instead */
547 #define TCERR_REQ_CATCH_RPAR      11089
548 
549 /* exception class name symbol required in 'catch' - found "%.*s" instead */
550 #define TCERR_REQ_CATCH_CLASS     11090
551 
552 /* variable name symbol required in 'catch' - found "%.*s" instead */
553 #define TCERR_REQ_CATCH_VAR       11091
554 
555 /* 'catch' target variable "%.*s" is not a local variable */
556 #define TCERR_CATCH_VAR_NOT_LOCAL 11092
557 
558 /* label expected after 'break' - found "%.*s" */
559 #define TCERR_BREAK_REQ_LABEL     11093
560 
561 /* label expected after 'continue' - found "%.*s" */
562 #define TCERR_CONT_REQ_LABEL      11094
563 
564 /* label expected after 'goto' - found "%.*s" */
565 #define TCERR_GOTO_REQ_LABEL      11095
566 
567 /* symbol "%.*s" is already defined - can't use as a new function name */
568 #define TCERR_REDEF_AS_FUNC       11096
569 
570 /* expected 'function' or 'object' after 'extern', but found '%.*s' */
571 #define TCERR_INVAL_EXTERN        11097
572 
573 /* code body is not allowed in an 'extern function' definition */
574 #define TCERR_EXTERN_NO_CODE_BODY 11098
575 
576 /* function "%.*s" is already defined */
577 #define TCERR_FUNC_REDEF          11099
578 
579 /* function "%.*s" has a previous incompatible definition */
580 #define TCERR_INCOMPAT_FUNC_REDEF 11100
581 
582 /* expected ':' in object definition after object name, but found "%.*s" */
583 #define TCERR_OBJDEF_REQ_COLON    11101
584 
585 /* expected superclass name in object definition, but found "%.*s" */
586 #define TCERR_OBJDEF_REQ_SC       11102
587 
588 /* superclasses cannot be specified with 'object' as the base class */
589 #define TCERR_OBJDEF_OBJ_NO_SC    11103
590 
591 /* symbol "%.*s" is already defined - can't redefine as an object */
592 #define TCERR_REDEF_AS_OBJ        11104
593 
594 /* object "%.*s" is already defined */
595 #define TCERR_OBJ_REDEF           11105
596 
597 /* expected property name in definition of object "%.*s", but found "%.*s" */
598 #define TCERR_OBJDEF_REQ_PROP     11106
599 
600 /* redefining symbol "%.*s" as property */
601 #define TCERR_REDEF_AS_PROP       11107
602 
603 /* expected prop value or method after property name %.*s, but found %.*s */
604 #define TCERR_OBJDEF_REQ_PROPVAL  11108
605 
606 /* expected 'function' or object name after 'replace', but found '%.*s' */
607 #define TCERR_REPLACE_REQ_OBJ_OR_FUNC 11109
608 
609 /* replace/modify cannot be used with an undefined object */
610 #define TCERR_REPMODOBJ_UNDEF     11110
611 
612 /* double-quoted strings cannot be used within expressions */
613 #define TCERR_DQUOTE_IN_EXPR      11111
614 
615 /* assignment in condition (possible use of '=' where '==' was intended) */
616 #define TCERR_ASI_IN_COND         11112
617 
618 /* replace/modify cannot be used with an undefined function */
619 #define TCERR_REPFUNC_UNDEF       11113
620 
621 /* 'replace' can only be applied to a property in a 'modify' object */
622 #define TCERR_REPLACE_PROP_REQ_MOD_OBJ 11114
623 
624 /* expected object name symbol in 'extern' but found "%.*s" */
625 #define TCERR_EXTERN_OBJ_REQ_SYM  11115
626 
627 /* property "%.*s" is already defined in object "%.*s" */
628 #define TCERR_PROP_REDEF_IN_OBJ   11116
629 
630 /* '=' required between property name and value - found "%.*s" */
631 #define TCERR_PROP_REQ_EQ         11117
632 
633 /* extra list element expected after comma, but found end of list */
634 #define TCERR_LIST_EXPECT_ELEMENT  11118
635 
636 /* expected class name string after name string but found "%.*s" */
637 #define TCERR_REQ_INTRINS_CLASS_NAME  11119
638 
639 /* open brace required ater intrinsic class name */
640 #define TCERR_REQ_INTRINS_CLASS_LBRACE  11120
641 
642 /* end of file in 'intrinsic class' property list */
643 #define TCERR_EOF_IN_INTRINS_CLASS  11121
644 
645 /* expected property name in 'intrinsic class' list, but found "%.*s" */
646 #define TCERR_REQ_INTRINS_CLASS_PROP  11122
647 
648 /* expected class name symbol after 'intrinsic class' but found "%.*s" */
649 #define TCERR_REQ_INTRINS_CLASS_NAME_SYM 11123
650 
651 /* redefining symbol "%.*s" as a metaclass name */
652 #define TCERR_REDEF_INTRINS_NAME  11124
653 
654 /* cannot evaluate metaclass symbol */
655 #define TCERR_CANNOT_EVAL_METACLASS 11125
656 
657 /* expected 'property' or object name after 'dictionary', but found "%.*s" */
658 #define TCERR_DICT_SYNTAX         11126
659 
660 /* expected property name in 'dictionary property' list, but found "%.*s" */
661 #define TCERR_DICT_PROP_REQ_SYM   11127
662 
663 /* expected comma in 'dictionary property' list, but found "%.*s" */
664 #define TCERR_DICT_PROP_REQ_COMMA 11128
665 
666 /* redefining object "%.*s" as dictionary */
667 #define TCERR_REDEF_AS_DICT       11129
668 
669 /* undefined symbol "%.*s" (used as superclass of "%.*s") */
670 #define TCERR_UNDEF_SYM_SC        11130
671 
672 /* vocabulary property requires one or more single-quoted string values */
673 #define TCERR_VOCAB_REQ_SSTR      11131
674 
675 /* vocabulary property cannot be used without a dictionary */
676 #define TCERR_VOCAB_NO_DICT       11132
677 
678 /* list varargs parameter not last */
679 #define TCERR_LISTPAR_NOT_LAST    11133
680 
681 /* expected ']' after list varargs parameter name, found "%.*s" */
682 #define TCERR_LISTPAR_REQ_RBRACK  11134
683 
684 /* expected list varargs parameter name, but found "%.*s" */
685 #define TCERR_LISTPAR_REQ_SYM     11135
686 
687 /* anonymous functions are not allowed in the debugger */
688 #define TCERR_DBG_NO_ANON_FUNC    11136
689 
690 /* anonymous function requires 'new' */
691 #define TCERR_ANON_FUNC_REQ_NEW   11137
692 
693 /* expected production name after 'grammar' */
694 #define TCERR_GRAMMAR_REQ_SYM     11138
695 
696 /* expected colon after production name in 'grammar' statement */
697 #define TCERR_GRAMMAR_REQ_COLON   11139
698 
699 /* expected object or property name in 'grammar' token list, found "%.*s" */
700 #define TCERR_GRAMMAR_REQ_OBJ_OR_PROP 11140
701 
702 /* property name must follow '->' in 'grammar' statement, found "%.*s" */
703 #define TCERR_GRAMMAR_ARROW_REQ_PROP 11141
704 
705 /* invalid token list entry "%.*s" */
706 #define TCERR_GRAMMAR_INVAL_TOK   11142
707 
708 /* redefining object "%.*s" as grammar production */
709 #define TCERR_REDEF_AS_GRAMPROD   11143
710 
711 /* object "%.*s" is not valid in a grammar list (only productions allowed) */
712 #define TCERR_GRAMMAR_REQ_PROD    11144
713 
714 /* symbol expected in enum list, but found "%.*s" */
715 #define TCERR_ENUM_REQ_SYM        11145
716 
717 /* symbol "%.*s" is already defined - can't use as an enum name */
718 #define TCERR_REDEF_AS_ENUM       11146
719 
720 /* comma expected in 'enum' symbol list, but found "%.*s" */
721 #define TCERR_ENUM_REQ_COMMA      11147
722 
723 /* enumerator "%.*s" in 'grammar' list must be declare with 'enum token' */
724 #define TCERR_GRAMMAR_BAD_ENUM    11148
725 
726 /* '*' must be the last token in a 'grammar' alt list - found "%.*s" */
727 #define TCERR_GRAMMAR_STAR_NOT_END 11149
728 
729 /* grammar qualifiers must precede all tokens in the alternative */
730 #define TCERR_GRAMMAR_QUAL_NOT_FIRST 11150
731 
732 /* symbol required in grammar qualifier - found "%.*s" */
733 #define TCERR_GRAMMAR_QUAL_REQ_SYM 11151
734 
735 /* invalid grammar qualifier "%.*s" */
736 #define TCERR_BAD_GRAMMAR_QUAL    11152
737 
738 /* integer constant required for grammar qualifier "%s" */
739 #define TCERR_GRAMMAR_QUAL_REQ_INT 11153
740 
741 /* ']' required at end of grammar qualifier - found "%.*s" */
742 #define TCERR_GRAMMAR_QUAL_REQ_RBRACK 11154
743 
744 /* '+ property' statement requires symbol, found "%.*s" instead */
745 #define TCERR_PLUSPROP_REQ_SYM     11155
746 
747 /* too many '+' signs - location is not defined */
748 #define TCERR_PLUSOBJ_TOO_MANY     11156
749 
750 /* property name required after "%s" in object template, but found "%.*s" */
751 #define TCERR_OBJ_TPL_OP_REQ_PROP  11157
752 
753 /* property name required in string in object template, but found "%.*s" */
754 #define TCERR_OBJ_TPL_STR_REQ_PROP 11158
755 
756 /* ']' required after list property in object template, found "%.*s" */
757 #define TCERR_OBJ_TPL_REQ_RBRACK   11159
758 
759 /* invalid 'object template' syntax - "%.*s" */
760 #define TCERR_OBJ_TPL_BAD_TOK      11160
761 
762 /* symbol \"%.*s\" in object template is not a property */
763 #define TCERR_OBJ_TPL_SYM_NOT_PROP 11161
764 
765 /* object definition does not match any object template */
766 #define TCERR_OBJ_DEF_NO_TEMPLATE  11162
767 
768 /* dictionary properties are not valid in object templates */
769 #define TCERR_OBJ_TPL_NO_VOCAB     11163
770 
771 /* property duplicated in template list */
772 #define TCERR_OBJ_TPL_PROP_DUP     11164
773 
774 /* metaclass is already defined as intrinsic class "%.*s" */
775 #define TCERR_META_ALREADY_DEF     11165
776 
777 /* missing ';' at end of object definition - found "%.*s" */
778 #define TCERR_OBJ_DEF_REQ_SEM      11166
779 
780 /* expected a statement, but found "%.*s" */
781 #define TCERR_EXPECTED_STMT_START  11167
782 
783 /* missing colon at end of short anonymous function formals - found "%.*s" */
784 #define TCERR_MISSING_COLON_FORMAL 11168
785 
786 /* semicolon is not allowed in a short anonymous function */
787 #define TCERR_SEM_IN_SHORT_ANON_FN 11169
788 
789 /* close brace missing at end of anonymous function */
790 #define TCERR_SHORT_ANON_FN_REQ_RBRACE 11170
791 
792 /* '(' required after 'in' operator */
793 #define TCERR_IN_REQ_LPAR          11171
794 
795 /* expected comma in 'in' list */
796 #define TCERR_EXPECTED_IN_COMMA    11172
797 
798 /* missing ')' at end of 'in' list */
799 #define TCERR_EXPECTED_IN_RPAR     11173
800 
801 /* cannot modify or replace objects of this type */
802 #define TCERR_CANNOT_MOD_OR_REP_TYPE 11174
803 
804 /* expected '(' after 'foreach', but found "%.*s" */
805 #define TCERR_REQ_FOREACH_LPAR     11175
806 
807 /* missing expression in 'foreach' - found "%.*s" */
808 #define TCERR_MISSING_FOREACH_EXPR 11176
809 
810 /* 'in' required in 'foreach' - found "%.*s" */
811 #define TCERR_FOREACH_REQ_IN       11177
812 
813 /* missing ')' at end of 'for' statement expression list */
814 #define TCERR_REQ_FOREACH_RPAR     11178
815 
816 /* property declaration requires symbol, but found "%.*s" */
817 #define TCERR_PROPDECL_REQ_SYM     11179
818 
819 /* property declaration requires comma, but found "%.*s" */
820 #define TCERR_PROPDECL_REQ_COMMA   11180
821 
822 /* expected symbol in 'export' statement, but found "%.*s" */
823 #define TCERR_EXPORT_REQ_SYM       11181
824 
825 /* external name "%.*s" too long in 'export' statement */
826 #define TCERR_EXPORT_EXT_TOO_LONG  11182
827 
828 /* unterminated object definition */
829 #define TCERR_UNTERM_OBJ_DEF       11183
830 
831 /* missing right brace at end of object definition - found "%.*s" */
832 #define TCERR_OBJ_DEF_REQ_RBRACE   11184
833 
834 /* right paren required after name-tag in 'grammar' - found "%.*s" */
835 #define TCERR_GRAMMAR_REQ_NAME_RPAR 11185
836 
837 /* open brace required for propertyset - found "%.*s" */
838 #define TCERR_PROPSET_REQ_LBRACE   11186
839 
840 /* right paren expected at end of group - found "%.*s" */
841 #define TCERR_GRAMMAR_REQ_RPAR_AFTER_GROUP 11187
842 
843 /* '->' not allowed after parenthesized group in 'grammar' statement */
844 #define TCERR_GRAMMAR_GROUP_ARROW_NOT_ALLOWED 11188
845 
846 /* cannot use template with unimported extern class as superclass */
847 #define TCERR_OBJ_DEF_CANNOT_USE_TEMPLATE 11189
848 
849 /* superclass list missing for 'replace' object definition */
850 #define TCERR_REPLACE_OBJ_REQ_SC  11190
851 
852 /* propertyset nesting too deep */
853 #define TCERR_PROPSET_TOO_DEEP    11191
854 
855 /* propertyset token expansion too large */
856 #define TCERR_PROPSET_TOK_TOO_LONG 11192
857 
858 /* invalid pattern string for propertyset - "%.*s" */
859 #define TCERR_PROPSET_INVAL_PAT   11193
860 
861 /* invalid propertyset formal parameter list */
862 #define TCERR_PROPSET_INVAL_FORMALS 11194
863 
864 /* circular class definition - "%.*s" is a subclass of "%.*s" */
865 #define TCERR_CIRCULAR_CLASS_DEF  11195
866 
867 /* property required in part-of-speech list in 'grammar', but found "%.*s" */
868 #define TCERR_GRAMMAR_LIST_REQ_PROP 11196
869 
870 /* missing '>' in 'grammar' property list - found "%.*s" */
871 #define TCERR_GRAMMAR_LIST_UNCLOSED 11197
872 
873 /* invalid indexed type in constant expression (expected list) */
874 #define TCERR_CONST_IDX_INV_TYPE    11198
875 
876 /* 'transient' is not allowed here (expected object definition) */
877 #define TCERR_INVAL_TRANSIENT       11199
878 
879 /* 'modify/replace grammar' can only be applied to tagged rule name */
880 #define TCERR_GRAMMAR_MOD_REQ_TAG   11200
881 
882 /* intrinsic superclass name expected after colon, but found "%.*s" */
883 #define TCERR_REQ_INTRINS_SUPERCLASS_NAME  11201
884 
885 /* intrinsic superclass "%.*s" undefined */
886 #define TCERR_INTRINS_SUPERCLASS_UNDEF  11202
887 
888 /* intrinsic class superclass "%.*s" is not an intrinsic class */
889 #define TCERR_INTRINS_SUPERCLASS_NOT_INTRINS  11202
890 
891 /* grammar rule ends with '|' */
892 #define TCERR_GRAMMAR_ENDS_WITH_OR  11203
893 
894 /* grammar rule is completely empty */
895 #define TCERR_GRAMMAR_EMPTY         11204
896 
897 
898 /* ------------------------------------------------------------------------ */
899 /*
900  *   General Code Generator Errors
901  */
902 
903 /* out of memory for code generation */
904 #define TCERR_CODEGEN_NO_MEM      11500
905 
906 /* internal error: %d unresolved temporary label fixups */
907 #define TCERR_UNRES_TMP_FIXUP     11501
908 
909 /* internal error: attempting to write past end of code stream */
910 #define TCERR_WRITEAT_PAST_END    11502
911 
912 /* "self" is not valid in this context */
913 #define TCERR_SELF_NOT_AVAIL      11503
914 
915 /* "inherited" is not valid in this context */
916 #define TCERR_INH_NOT_AVAIL       11504
917 
918 /* no address for symbol "%.*s" */
919 #define TCERR_NO_ADDR_SYM         11505
920 
921 /* cannot assign to symbol "%.*s" */
922 #define TCERR_CANNOT_ASSIGN_SYM   11506
923 
924 /* cannot evaluate a code label ("%.*s") */
925 #define TCERR_CANNOT_EVAL_LABEL   11507
926 
927 /* cannot call symbol "%.*s" */
928 #define TCERR_CANNOT_CALL_SYM     11508
929 
930 /* cannot call property "%.*s" without explicit object (no "self") */
931 #define TCERR_PROP_NEEDS_OBJ      11509
932 
933 /* "%.*s" has no return value to be used in an expression */
934 #define TCERR_VOID_RETURN_IN_EXPR 11510
935 
936 /* '&' operator cannot be used with function name */
937 #define TCERR_INVAL_FUNC_ADDR     11511
938 
939 /* cannot apply operator 'new' to this expression */
940 #define TCERR_INVAL_NEW_EXPR      11512
941 
942 /* not enough arguments to function "%.*s" */
943 #define TCERR_TOO_FEW_FUNC_ARGS   11513
944 
945 /* too many arguments to function "%.*s" */
946 #define TCERR_TOO_MANY_FUNC_ARGS  11514
947 
948 /* assigning to "%.*s" needs object */
949 #define TCERR_SETPROP_NEEDS_OBJ   11515
950 
951 /* symbol "%.*s" is not a property - illegal on right side of '.' */
952 #define TCERR_SYM_NOT_PROP        11516
953 
954 /* invalid property expression - right side of '.' is not a property */
955 #define TCERR_INVAL_PROP_EXPR     11517
956 
957 /* illegal inherited syntax - "%.*s" is not an object */
958 #define TCERR_INH_NOT_OBJ         11518
959 
960 /* invalid object expression - left side of '.' is not an object */
961 #define TCERR_INVAL_OBJ_EXPR      11519
962 
963 /* symbol "%.*s" is not an object - illegal on left of '.' */
964 #define TCERR_SYM_NOT_OBJ         11520
965 
966 /* "if" condition is always true */
967 #define TCERR_IF_ALWAYS_TRUE      11521
968 
969 /* "if" condition is always false */
970 #define TCERR_IF_ALWAYS_FALSE     11522
971 
972 /* invalid "break" - not in a loop or switch */
973 #define TCERR_INVALID_BREAK       11523
974 
975 /* invalid "continue" - not in a loop */
976 #define TCERR_INVALID_CONTINUE    11524
977 
978 /* entrypoint function "_main" is not defined */
979 #define TCERR_MAIN_NOT_DEFINED    11525
980 
981 /* "_main" is not a function */
982 #define TCERR_MAIN_NOT_FUNC       11526
983 
984 /* exception class symbol "%.*s" in "catch" clause is not an object */
985 #define TCERR_CATCH_EXC_NOT_OBJ   11527
986 
987 /* invalid 'break' - no label \"%.*s\" on any enclosing statement */
988 #define TCERR_INVALID_BREAK_LBL   11528
989 
990 /* invalid 'continue' - no label \"%.*s\" on any enclosing statement */
991 #define TCERR_INVALID_CONT_LBL    11529
992 
993 /* 'goto' label "%.*s" is not defined in this function */
994 #define TCERR_INVALID_GOTO_LBL    11530
995 
996 /* unresolved external reference "%.*s" */
997 #define TCERR_UNRESOLVED_EXTERN   11531
998 
999 /* label "%.*s" is never referenced */
1000 #define TCERR_UNREFERENCED_LABEL  11532
1001 
1002 /* local variable "%.*s" is never referenced */
1003 #define TCERR_UNREFERENCED_LOCAL  11533
1004 
1005 /* local variable "%.*s" never has a value assigned */
1006 #define TCERR_UNASSIGNED_LOCAL    11534
1007 
1008 /* local variable "%.*s" is assigned a value that is never used */
1009 #define TCERR_UNUSED_LOCAL_ASSIGNMENT 11535
1010 
1011 /* superclass "%.*s" is not an object */
1012 #define TCERR_SC_NOT_OBJECT       11536
1013 
1014 /* argument expression %d has no value */
1015 #define TCERR_ARG_EXPR_HAS_NO_VAL 11537
1016 
1017 /* expression on right of assignment operator has no value */
1018 #define TCERR_ASI_EXPR_HAS_NO_VAL 11538
1019 
1020 /* wrong number of arguments to function %.*s: %d required, %d actual */
1021 #define TCERR_WRONG_ARGC_FOR_FUNC 11539
1022 
1023 /* transfer into 'finally' block via 'goto' is not allowed */
1024 #define TCERR_GOTO_INTO_FINALLY   11540
1025 
1026 /* parameter "%.*s" is never referenced */
1027 #define TCERR_UNREFERENCED_PARAM  11541
1028 
1029 /* grammar production "%.*s" has no alternatives defined */
1030 #define TCERR_GRAMPROD_HAS_NO_ALTS 11542
1031 
1032 /* intrinsic class property "%.*s" cannot be modified */
1033 #define TCERR_CANNOT_MOD_META_PROP 11543
1034 
1035 /* Collection.createIterator() is not defined - foreach() cannot be used */
1036 #define TCERR_FOREACH_NO_CREATEITER 11544
1037 
1038 /* Iterator.getNext() is not defined - foreach() cannot be used */
1039 #define TCERR_FOREACH_NO_GETNEXT   11545
1040 
1041 /* Iterator.isNextAvailable() is not defined - foreach() cannot be used */
1042 #define TCERR_FOREACH_NO_ISNEXTAVAIL 11546
1043 
1044 /* invalid type for export */
1045 #define TCERR_INVALID_TYPE_FOR_EXPORT 11547
1046 
1047 /* duplicate export - extern name "%.*s", internal names "%.*s" and "%.*s" */
1048 #define TCERR_DUP_EXPORT           11548
1049 
1050 /* another duplicate export for extern name "%.*s", internal name "%.*s" */
1051 #define TCERR_DUP_EXPORT_AGAIN     11549
1052 
1053 /* "targetprop" is not valid in this context */
1054 #define TCERR_TARGETPROP_NOT_AVAIL 11550
1055 
1056 /* "targetobj" is not valid in this context */
1057 #define TCERR_TARGETOBJ_NOT_AVAIL 11551
1058 
1059 /* "definingobj" is not valid in this context */
1060 #define TCERR_DEFININGOBJ_NOT_AVAIL 11552
1061 
1062 /* cannot call constant expression */
1063 #define TCERR_CANNOT_CALL_CONST   11553
1064 
1065 /* "replaced" is not valid in this context */
1066 #define TCERR_REPLACED_NOT_AVAIL  11554
1067 
1068 /* grammar production "%.*s" has too many alternatives defined */
1069 #define TCERR_GRAMPROD_TOO_MANY_ALTS 11555
1070 
1071 /* ------------------------------------------------------------------------ */
1072 /*
1073  *   Errors related to symbol export files
1074  */
1075 
1076 /*
1077  *   invalid symbol type in symbol file - file is corrupted or was created
1078  *   by an incompatible version of the compiler
1079  */
1080 #define TCERR_SYMEXP_INV_TYPE     11700
1081 
1082 /* invalid symbol file signature */
1083 #define TCERR_SYMEXP_INV_SIG      11701
1084 
1085 /* symbol name too long in symbol file */
1086 #define TCERR_SYMEXP_SYM_TOO_LONG 11702
1087 
1088 /*
1089  *   symbol "%.*s" found in symbol file is already defined; ignoring the
1090  *   redefinition
1091  */
1092 #define TCERR_SYMEXP_REDEF        11703
1093 
1094 
1095 /* ------------------------------------------------------------------------ */
1096 /*
1097  *   Errors related to object files
1098  */
1099 
1100 /* invalid object file signature */
1101 #define TCERR_OBJFILE_INV_SIG     11800
1102 
1103 /* too many object/property ID's for this platform */
1104 #define TCERR_OBJFILE_TOO_MANY_IDS 11801
1105 
1106 /* out of memory loading object file */
1107 #define TCERR_OBJFILE_OUT_OF_MEM  11802
1108 
1109 /* invalid symbol type in object file */
1110 #define TCERR_OBJFILE_INV_TYPE    11803
1111 
1112 /* symbol %.*s (type %s) redefined (type %s) in object file "%s" */
1113 #define TCERR_OBJFILE_REDEF_SYM_TYPE 11804
1114 
1115 /* symbol %.*s (type %s) redefined in object file "%s" */
1116 #define TCERR_OBJFILE_REDEF_SYM   11805
1117 
1118 /* built-in function %.*s has different definition in object file "%s" */
1119 #define TCERR_OBJFILE_BIF_INCOMPAT  11806
1120 
1121 /* function %.*s has different definition in object file "%s" */
1122 #define TCERR_OBJFILE_FUNC_INCOMPAT 11807
1123 
1124 /* internal symbol reference \"%.*s\" missing in object file %s */
1125 #define TCERR_OBJFILE_INT_SYM_MISSING 11808
1126 
1127 /* invalid stream ID in object file %s */
1128 #define TCERR_OBJFILE_INVAL_STREAM_ID 11809
1129 
1130 /* invalid object ID in object file %s */
1131 #define TCERR_OBJFILE_INVAL_OBJ_ID 11810
1132 
1133 /* invalid property ID in object file %s */
1134 #define TCERR_OBJFILE_INVAL_PROP_ID 11811
1135 
1136 /* function set/metaclass entry is invalid in object file "%s" */
1137 #define TCERR_OBJFILE_INV_FN_OR_META 11812
1138 
1139 /* conflicting function set "%s" in object file "%s" */
1140 #define TCERR_OBJFILE_FNSET_CONFLICT 11813
1141 
1142 /* conflicting metaclass "%s" in object file "%s" */
1143 #define TCERR_OBJFILE_META_CONFLICT 11814
1144 
1145 /* modified or replaced object %.*s found before original in object file %s */
1146 #define TCERR_OBJFILE_MODREPOBJ_BEFORE_ORIG 11815
1147 
1148 /* replaced function %.*s found before original in object file %s */
1149 #define TCERR_OBJFILE_REPFUNC_BEFORE_ORIG 11816
1150 
1151 /* "construct" cannot return a value */
1152 #define TCERR_CONSTRUCT_CANNOT_RET_VAL 11817
1153 
1154 /*
1155  *   object file doesn't contain debugging information (required because
1156  *   we're linking for debugging)
1157  */
1158 #define TCERR_OBJFILE_NO_DBG      11818
1159 
1160 /* metaclass prop "%.*s" in does not match original "%.*s" in obj file %s */
1161 #define TCERR_OBJFILE_METACLASS_PROP_CONFLICT  11819
1162 
1163 /* metaclass index conflict in object file %s */
1164 #define TCERR_OBJFILE_METACLASS_IDX_CONFLICT  11820
1165 
1166 /* cannot modify or replace object of this type - %.*s in object file %s */
1167 #define TCERR_OBJFILE_CANNOT_MOD_OR_REP_TYPE  11821
1168 
1169 /* exported symbol too long in object file */
1170 #define TCERR_EXPORT_SYM_TOO_LONG 11822
1171 
1172 /* macro name too long in object file debug records */
1173 #define TCERR_OBJFILE_MACRO_SYM_TOO_LONG  11823
1174 
1175 
1176 /* ------------------------------------------------------------------------ */
1177 /*
1178  *   T3 Code Generator Errors
1179  */
1180 
1181 /* constant string or list exceeds 32k - won't run on 16-bit machines */
1182 #define TCERR_CONST_POOL_OVER_32K 15001
1183 
1184 /* internal error: constant too large for page */
1185 #define TCERR_CONST_TOO_LARGE_FOR_PG 15002
1186 
1187 /* internal error: corrupted list */
1188 #define TCERR_CORRUPT_LIST        15003
1189 
1190 /* internal error: 'inherited' codegen */
1191 #define TCERR_GEN_CODE_INH        15004
1192 
1193 /* internal error: unknown constant type in code generation */
1194 #define TCERR_GEN_UNK_CONST_TYPE  15005
1195 
1196 /* internal error: attempting to generate code for non-lvalue */
1197 #define TCERR_GEN_BAD_LVALUE      15006
1198 
1199 /* internal error: attempting to generate address for non-addressable */
1200 #define TCERR_GEN_BAD_ADDR        15007
1201 
1202 /* too many arguments to function (maximum of 127 allowed) */
1203 #define TCERR_TOO_MANY_CALL_ARGS  15008
1204 
1205 /* too many arguments to constructor (maximum of 126 allowed) */
1206 #define TCERR_TOO_MANY_CTOR_ARGS  15009
1207 
1208 /* internal error: 'delegated' codegen */
1209 #define TCERR_GEN_CODE_DELEGATED  15010
1210 
1211 /* code block exceeds 32k - won't run on 16-bit machines */
1212 #define TCERR_CODE_POOL_OVER_32K  15011
1213 
1214 /* internal error: 'case' or 'default' out of place or non-const expression */
1215 #define TCERR_GEN_BAD_CASE        15012
1216 
1217 /* internal error: 'catch' or 'finally' gen_code called directly */
1218 #define TCERR_CATCH_FINALLY_GEN_CODE 15013
1219 
1220 /* internal error: property value has invalid type for code generation */
1221 #define TCERR_INVAL_PROP_CODE_GEN 15014
1222 
1223 /* symbol "%.*s" cannot be exported - reserved for compiler use */
1224 #define TCERR_RESERVED_EXPORT     15015
1225 
1226 /* unused - 15016 */
1227 
1228 /* property 'construct' is not defined */
1229 #define TCERR_CONSTRUCT_NOT_DEFINED 15017
1230 
1231 /* 'construct' is not a property */
1232 #define TCERR_CONSTRUCT_NOT_PROP 15018
1233 
1234 /* property 'finalize' is not defined */
1235 #define TCERR_FINALIZE_NOT_DEFINED 15019
1236 
1237 /* 'finalize' is not a property */
1238 #define TCERR_FINALIZE_NOT_PROP 15020
1239 
1240 #endif /* TCERRNUM_H */
1241 
1242