aboutsummaryrefslogtreecommitdiff
path: root/frontend/syntax.dcl
diff options
context:
space:
mode:
authorjohnvg2013-04-05 14:31:26 +0000
committerjohnvg2013-04-05 14:31:26 +0000
commit06a9755549c194ed39245152f66d81f43e2d9719 (patch)
tree36833039b00c467487ffbd5da3d00be4fad5dcd9 /frontend/syntax.dcl
parentchange type GenericCaseDef, add types GenericCaseFunctions and GCF (diff)
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
Diffstat (limited to 'frontend/syntax.dcl')
-rw-r--r--frontend/syntax.dcl3
1 files changed, 3 insertions, 0 deletions
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