diff options
Diffstat (limited to 'backendC/CleanCompilerSources/checker_2.c')
-rw-r--r-- | backendC/CleanCompilerSources/checker_2.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/backendC/CleanCompilerSources/checker_2.c b/backendC/CleanCompilerSources/checker_2.c index 3a7694b..a155447 100644 --- a/backendC/CleanCompilerSources/checker_2.c +++ b/backendC/CleanCompilerSources/checker_2.c @@ -110,6 +110,10 @@ Ident AnnotatedId, ListId, TupleId, ConsId, NilId, ApplyId, SelectId, DeltaBId, IfId, FailId, AndId, OrId, StdArrayId, ArrayFunctionIds [NoArrayFun]; +#if SA_RECOGNIZES_ABORT_AND_UNDEF +Ident StdMiscId,abort_id,undef_id; +#endif + Symbol StartSymbol; SymbDef ArrayFunctionDefs [NoArrayFun],StdArrayAbortDef; @@ -193,10 +197,19 @@ void InitChecker (void) AndId = PutStringInHashTable ("&&", SymbolIdTable); OrId = PutStringInHashTable ("||", SymbolIdTable); +#if SA_RECOGNIZES_ABORT_AND_UNDEF + abort_id = PutStringInHashTable ("abort",SymbolIdTable); + undef_id = PutStringInHashTable ("undef",SymbolIdTable); +#endif + SystemFunctionsId = PutStringInHashTable ("StdEnum", ModuleIdTable); DeltaBId = PutStringInHashTable ("StdBool", ModuleIdTable); StdArrayId = PutStringInHashTable ("_SystemArray", ModuleIdTable); +#if SA_RECOGNIZES_ABORT_AND_UNDEF + StdMiscId = PutStringInHashTable ("StdMisc",ModuleIdTable); +#endif + /* Predefined Array functions */ StdArrayAbortId = PutStringInHashTable ("_abortArray", SymbolIdTable); |