t push origin masterMerge branch 'master' of github.com:dopefishh/cc1516
[cc1516.git] / spl.icl
diff --git a/spl.icl b/spl.icl
index 291b0bd..c42412c 100644 (file)
--- a/spl.icl
+++ b/spl.icl
@@ -70,8 +70,9 @@ Start w
                        = case sem parseOut of
                                (Left e) = snd $ fclose (stdin <<< join "\n" (map toString e)) w
                                (Right (semOut, gamma))
-                               # stdin = if (not args.sem) stdin (
-                                       stdin <<<  "//SEM\n" <<< toString gamma <<< "//SEM\n")
+                               # stdin = if (not args.sem) stdin (stdin 
+                                       <<< "//SEM G\n" <<< toString gamma <<< "//SEM A\n"
+                                       <<< "//SEM A\n" <<< toString semOut <<< "//SEM A\n")
                                = snd $ fclose (stdin <<< "\n") w
                where
                        printTokens :: [Token] -> String