From 06a9755549c194ed39245152f66d81f43e2d9719 Mon Sep 17 00:00:00 2001 From: johnvg Date: Fri, 5 Apr 2013 14:31:26 +0000 Subject: add derive class for deriving generic functions in class context (from iTask branch) git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2225 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d --- frontend/syntax.dcl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'frontend/syntax.dcl') diff --git a/frontend/syntax.dcl b/frontend/syntax.dcl index 688887d..c0d9c41 100644 --- a/frontend/syntax.dcl +++ b/frontend/syntax.dcl @@ -44,6 +44,7 @@ instance == FunctionOrMacroIndex | STE_Member | STE_Generic | STE_GenericCase + | STE_GenericDeriveClass | STE_Instance | STE_Variable !VarInfoPtr | STE_TypeVariable !TypeVarInfoPtr @@ -441,6 +442,8 @@ cNameLocationDependent :== True :: GenericCaseFunctions = GCF !Ident !GCF + | GCFS ![!GCF!] + | GCFC !Ident !Ident // IC_GenericDeriveClass IC_Class :: GCF = { gcf_gident :: !Ident, // name in IC_GenricCase namespace -- cgit v1.2.3