diff options
| author | bringert <unknown> | 2005-03-21 13:27:04 +0000 |
|---|---|---|
| committer | bringert <unknown> | 2005-03-21 13:27:04 +0000 |
| commit | 75d228629a267da1be6c26a6fb13a14f3da0f7c2 (patch) | |
| tree | 4ea46964cd8ae546b6e759276a123eb4f225e46d /src/GF/CFGM/AbsCFG.hs | |
| parent | 96a08c9df49345657c769ac481b6df47cbea3a8d (diff) | |
Build cfgm files using the nondeterministic conversion. Allow coercions in cfgm rule functions and remove the name.
Diffstat (limited to 'src/GF/CFGM/AbsCFG.hs')
| -rw-r--r-- | src/GF/CFGM/AbsCFG.hs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/GF/CFGM/AbsCFG.hs b/src/GF/CFGM/AbsCFG.hs index d66289ae9..c605ce212 100644 --- a/src/GF/CFGM/AbsCFG.hs +++ b/src/GF/CFGM/AbsCFG.hs @@ -1,4 +1,3 @@ - module AbsCFG where -- Haskell module generated by the BNF converter @@ -18,7 +17,12 @@ data Flag = deriving (Eq,Ord,Show) data Rule = - Rule Ident Name Profile Category [Symbol] + Rule Fun Profile Category [Symbol] + deriving (Eq,Ord,Show) + +data Fun = + Cons Ident + | Coerce deriving (Eq,Ord,Show) data Profile = @@ -34,10 +38,6 @@ data Symbol = | TermS String deriving (Eq,Ord,Show) -data Name = - Name SingleQuoteString - deriving (Eq,Ord,Show) - data Category = Category SingleQuoteString deriving (Eq,Ord,Show) |
