aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/predef.icl7
1 files changed, 7 insertions, 0 deletions
diff --git a/frontend/predef.icl b/frontend/predef.icl
index c4f0bca..fdd16d8 100644
--- a/frontend/predef.icl
+++ b/frontend/predef.icl
@@ -196,6 +196,13 @@ GetTupleTypeIndex tup_arity :== PD_Arity2TupleType + tup_arity - 2
predefined_idents :: {!Ident}
predefined_idents
+// RWS: work around for 2.0 compiler bug
+// predefined_idents is not parsed as a CAF because of the #-definitions
+ =: build_predefined_idents
+
+build_predefined_idents :: {!Ident}
+build_predefined_idents
+// ... RWS
# idents = createArray PD_NrOfPredefSymbols {id_name="",id_info=nilPtr}
# idents = { idents &
[PD_ConsSymbol] = i PD_ConsSymbol_String,