From 0166b27ee45f24fb60d79498a5d15b4f316191f3 Mon Sep 17 00:00:00 2001 From: aarne Date: Fri, 27 Feb 2004 07:43:52 +0000 Subject: Started with unions. --- src/GF/Source/GF.cf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/GF/Source/GF.cf') diff --git a/src/GF/Source/GF.cf b/src/GF/Source/GF.cf index 1edf8adb7..682debc9d 100644 --- a/src/GF/Source/GF.cf +++ b/src/GF/Source/GF.cf @@ -41,6 +41,7 @@ MTTransfer. ModType ::= "transfer" Ident ":" Open "->" Open ; MBody. ModBody ::= Extend Opens "{" [TopDef] "}" ; MWith. ModBody ::= Ident "with" [Open] ; MReuse. ModBody ::= "reuse" Ident ; +MUnion. ModBody ::= "union" [Included] ; separator TopDef "" ; @@ -62,6 +63,11 @@ QOCompl. QualOpen ::= ; QOIncompl. QualOpen ::= "incomplete" ; QOInterface. QualOpen ::= "interface" ; +separator Included "," ; + +IAll. Included ::= Ident ; +ISome. Included ::= Ident "[" [Ident] "]" ; + -- definitions after the $oper$ keywords DDecl. Def ::= [Ident] ":" Exp ; -- cgit v1.2.3