From 12b3e97d0ee4b7d1fa6560b91d14ef7be110bdff Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Thu, 9 Aug 2012 05:15:01 +1000 Subject: Compilation now automated --- SemanticMain.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SemanticMain.hs') diff --git a/SemanticMain.hs b/SemanticMain.hs index 7e7fd29..61ba16d 100644 --- a/SemanticMain.hs +++ b/SemanticMain.hs @@ -7,6 +7,6 @@ import Semantic main = do args <- getArgs - list <- getLines $ head args + list <- getLines (head args) let result = doSemanticCheck (map (stripReturn) list) printf result -- cgit