diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2014-11-24 22:24:22 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2014-11-24 22:37:35 -0800 |
commit | a37494eb58e2b8b6390b5ad2ba0afd56a75957d1 (patch) | |
tree | 057b9d1588b6e1f9917b781ff496e7ecc2955545 /mu.arc.t | |
parent | f7764d6ca909be2eee2a2f978e4fea69b283c2a6 (diff) | |
download | mu-a37494eb58e2b8b6390b5ad2ba0afd56a75957d1.tar.gz |
321 - before/after can now come anywhere
This pollutes our traces with all 'system software'. Too much trouble to keep it out; just lump it for now. Who knows, might even be useful. Most of the time convert* labels are easy to grep out when debugging.
Diffstat (limited to 'mu.arc.t')
-rw-r--r-- | mu.arc.t | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mu.arc.t b/mu.arc.t index a1f0c90e..542dbfc8 100644 --- a/mu.arc.t +++ b/mu.arc.t @@ -2785,9 +2785,26 @@ label1 } ]))) +(freeze-functions) (if (~iso function*!f1 '(label1 ((1 integer) <- copy (0 literal)))) (prn "F - before/after works inside blocks")) +(reset) +;? (new-trace "before-after-any-order") +(add-code '((def f1 [ + { begin + label1 + } + ]) + (after label1 [ + ((1 integer) <- copy (0 literal)) + ]))) +(freeze-functions) +(if (~iso function*!f1 + '(label1 + ((1 integer) <- copy (0 literal)))) + (prn "F - before/after can come after the function they need to modify")) + (reset) ; end file with this to persist the trace for the final test |