aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/Main.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/Main.hs b/main/Main.hs
index f5a3d5a..a7e242d 100644
--- a/main/Main.hs
+++ b/main/Main.hs
@@ -4,6 +4,7 @@ import System.Exit
import qualified CC.Parser as Parser
import qualified CC.Typecheck as Typecheck
+import qualified CC.Backend.Dumb as Backend
import CC.Context
import CC.Pretty
@@ -29,7 +30,7 @@ main = do
let combined = parse `passJoin` typecheck
source <- getContents
- let context = Context "<stdin>"
+ let context = Context "<stdin>" Backend.builtins
case combined context (read source) of
Right prog -> pprint prog
Left err -> die err