aboutsummaryrefslogtreecommitdiff
path: root/main/compile.icl
diff options
context:
space:
mode:
authorjohnvg2016-06-10 09:21:57 +0000
committerjohnvg2016-06-10 09:21:57 +0000
commite561b24cb93d023a2b758ca9c4f51747cfd28c58 (patch)
tree0f1e25b9ee60061b877594fabcbdc721cee3b87d /main/compile.icl
parentadd a bit in the .comp directive indicating whether -dynamics was passed (diff)
pass -dynamics to backend
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2730 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'main/compile.icl')
-rw-r--r--main/compile.icl3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/compile.icl b/main/compile.icl
index c63bafe..1125b47 100644
--- a/main/compile.icl
+++ b/main/compile.icl
@@ -183,7 +183,8 @@ parseCommandLine ["-id",compiler_id_string : args] options
= parseCommandLine args options
parseCommandLine [arg1=:"-dynamics":args] options
// generates for each .icl module a .tcl file (which contains the type information for that module)
- = parseCommandLine args {options & compile_for_dynamics = True}
+ # (args,modules,options) = parseCommandLine args {options & compile_for_dynamics = True}
+ = ([arg1:args],modules,options)
parseCommandLine [arg1=:"-fusion":args] options
// switch on fusion transformations
# (args,modules,options) = parseCommandLine args {options & compile_with_fusion = True}