aboutsummaryrefslogtreecommitdiff
path: root/frontend/syntax.dcl
diff options
context:
space:
mode:
authorjohnvg2003-12-15 15:25:46 +0000
committerjohnvg2003-12-15 15:25:46 +0000
commit81999c73611b1b21745aeebb0d22c27e5579f905 (patch)
treecf8b4b8877bd5ad031272866c5a97112195ba35e /frontend/syntax.dcl
parentadd BEInsertForeignExport (diff)
add foreign export
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1436 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/syntax.dcl')
-rw-r--r--frontend/syntax.dcl2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/syntax.dcl b/frontend/syntax.dcl
index 4d703cc..0c4f25d 100644
--- a/frontend/syntax.dcl
+++ b/frontend/syntax.dcl
@@ -96,6 +96,7 @@ instance == FunctionOrMacroIndex
, mod_type :: !ModuleKind
, mod_imports :: ![ParsedImport]
, mod_imported_objects :: ![ImportedObject]
+ , mod_foreign_exports :: ![IdentPos]
, mod_defs :: !defs
}
@@ -174,6 +175,7 @@ cIsNotAFunction :== False
| PD_Instances [ParsedInstance ParsedDefinition]
| PD_Import [ParsedImport]
| PD_ImportedObjects [ImportedObject]
+ | PD_ForeignExport !Ident !{#Char} !Int
| PD_Generic GenericDef // AA
| PD_GenericCase GenericCaseDef // AA
| PD_Derive [GenericCaseDef] // AA