Clean up PT
This commit is contained in:
parent
93fda75946
commit
b546c0fdcb
11
fco/PT.hs
11
fco/PT.hs
|
@ -7,7 +7,6 @@ module PT where
|
|||
import Data.Generics
|
||||
|
||||
data Node =
|
||||
-- {{{ BEGIN baseTransformOc
|
||||
Decl Node Node
|
||||
| Alt [Node]
|
||||
| AltRep Node Node
|
||||
|
@ -19,7 +18,6 @@ data Node =
|
|||
-- e.g. In (Name "c") (InCase [Variant .., Variant ..])
|
||||
| Variant Node Node
|
||||
| InCase [Node]
|
||||
-- FIXME can turn into InCase ... (Variant .. Skip)
|
||||
| InTag Node
|
||||
| InAfter Node
|
||||
|
||||
|
@ -152,15 +150,6 @@ data Node =
|
|||
| True
|
||||
| False
|
||||
| Name String
|
||||
-- }}} END
|
||||
|
||||
-- {{{ BEGIN baseTransformInt
|
||||
| IntDecl String Node Node
|
||||
-- }}} END
|
||||
|
||||
-- {{{ BEGIN baseTransformC
|
||||
| CCode String
|
||||
-- }}} END
|
||||
|
||||
deriving (Show, Eq, Typeable, Data)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user