aboutsummaryrefslogtreecommitdiff
path: root/frontend/transform.dcl
diff options
context:
space:
mode:
authormartijnv2001-05-10 08:24:10 +0000
committermartijnv2001-05-10 08:24:10 +0000
commit99101dfbff1e519834132a038a945257992af4d0 (patch)
tree300bdf76bae6bd6c08a617bdcaa864b72e6065e1 /frontend/transform.dcl
parentcompiler option added: -dynamics which instructs the compiler to generate (diff)
bug fixes:
- unused dynamics in where/let clauses do not cause a rule doesn't match error in overloading.icl instead they are ignored - default behaviour changed e.g. f (i :: Int, j :: Int) = abort "Int" f (r :: Real, s :: Real) = abort "Real" f _ = abort "stop" The compiler first matched on the tuple and then did the dynamic pattern matches. But the last match did not call the last (default) alternative if it did not match. - some small changes git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@421 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/transform.dcl')
-rw-r--r--frontend/transform.dcl3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/transform.dcl b/frontend/transform.dcl
index 26cd02a..b75b79c 100644
--- a/frontend/transform.dcl
+++ b/frontend/transform.dcl
@@ -21,6 +21,9 @@ partitionateMacros :: !IndexRange !Index !PredefinedSymbol !*{# FunDef} !*{# Dcl
, cos_symbol_heap :: !.ExpressionHeap
, cos_error :: !.ErrorAdmin
, cos_alias_dummy :: !PredefinedSymbol
+// MV ...
+ , cos_removed_dynamic_expr :: !.{#Bool}
+// ... MV
}
determineVariablesAndRefCounts :: ![FreeVar] !Expression !*CollectState -> (!Expression , ![FreeVar], ![FreeVar], !*CollectState)