summaryrefslogtreecommitdiff
path: root/src/runtime/haskell/PGF/Data.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/haskell/PGF/Data.hs')
-rw-r--r--src/runtime/haskell/PGF/Data.hs9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/runtime/haskell/PGF/Data.hs b/src/runtime/haskell/PGF/Data.hs
index 58ced6a1e..e86b02778 100644
--- a/src/runtime/haskell/PGF/Data.hs
+++ b/src/runtime/haskell/PGF/Data.hs
@@ -58,9 +58,10 @@ data Symbol
= SymCat {-# UNPACK #-} !Int {-# UNPACK #-} !LIndex
| SymLit {-# UNPACK #-} !Int {-# UNPACK #-} !LIndex
| SymVar {-# UNPACK #-} !Int {-# UNPACK #-} !Int
- | SymKS [Token]
- | SymKP [Token] [Alternative]
+ | SymKS Token
| SymNE -- non exist
+ | SymBIND -- the special BIND token
+ | SymKP [Symbol] [([Symbol],[String])]
deriving (Eq,Ord,Show)
data Production
= PApply {-# UNPACK #-} !FunId [PArg]
@@ -75,10 +76,6 @@ type FunId = Int
type SeqId = Int
type BCAddr = Int
-data Alternative =
- Alt [Token] [String]
- deriving (Eq,Ord,Show)
-
-- merge two PGFs; fails is differens absnames; priority to second arg