about summary refs log tree commit diff stats
path: root/cpp/028space_surround
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-14 18:31:26 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-14 18:31:26 -0700
commit0edf822f996c5def4588cc207d1977cffc3e9a0c (patch)
tree275ee8b5c5f4e96f60f98fa74e546c3899bf9215 /cpp/028space_surround
parente05847550c276debb831eb4853474b0da38614ef (diff)
downloadmu-0edf822f996c5def4588cc207d1977cffc3e9a0c.tar.gz
1062 - bugfix: wasn't aliasing Current_routine
You can't write tests for stupidity.
Diffstat (limited to 'cpp/028space_surround')
-rw-r--r--cpp/028space_surround2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/028space_surround b/cpp/028space_surround
index 7126911d..dd4fb44f 100644
--- a/cpp/028space_surround
+++ b/cpp/028space_surround
@@ -27,7 +27,7 @@ recipe main [
 
 :(replace{} "int space(const reagent& x)")
 int space(const reagent& x) {
-  return space(x, space_index(x), Current_routine.calls.top().default_space);
+  return space(x, space_index(x), Current_routine->calls.top().default_space);
 }
 
 int space(const reagent& x, int space_index, int base) {