summaryrefslogtreecommitdiff
path: root/SemanticMain.hs
diff options
context:
space:
mode:
Diffstat (limited to 'SemanticMain.hs')
-rw-r--r--SemanticMain.hs2
1 files changed, 1 insertions, 1 deletions
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