From 5b545cf372fafb3702bb22d0bb24a9c5f5950b05 Mon Sep 17 00:00:00 2001 From: ronny Date: Mon, 3 Dec 2001 12:02:32 +0000 Subject: work around for 2.0 compiler bug predefined_idents is not parsed as a CAF because of the #-definitions git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@915 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d --- frontend/predef.icl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'frontend') 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, -- cgit v1.2.3