From b18a1a6210b3f89071b3615a55352d007f4cfed9 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Tue, 21 Sep 2021 21:03:55 +0200 Subject: Incorporate printing code from previous attempt at this --- Language/C.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Language/C.hs') 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] -- cgit v1.2.3-70-g09d2