summaryrefslogtreecommitdiff
path: root/Language/C.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Language/C.hs')
-rw-r--r--Language/C.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Language/C.hs b/Language/C.hs
index 530088c..86250dd 100644
--- a/Language/C.hs
+++ b/Language/C.hs
@@ -1,6 +1,9 @@
module Language.C where
+data Program = Program [FunDef]
+ deriving (Show)
+
data FunDef
= FunDef Type Name [(Type, Name)] StExpr
| ProcDef Name [(Type, Name)] [Stmt]