about summary refs log tree commit diff stats
path: root/cpp/013run
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-03-21 17:53:20 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-03-21 17:53:20 -0700
commit7da71d032cc79b0dbcf962abdbdbb2732143a1d3 (patch)
treed6d1e4a85e45548eebb5add79d1b6a5c9fdc634c /cpp/013run
parentb9011f3481c7cb630bdfdf69feee24ddd540af4a (diff)
downloadmu-7da71d032cc79b0dbcf962abdbdbb2732143a1d3.tar.gz
966 - c++: starting on default-space
Diffstat (limited to 'cpp/013run')
-rw-r--r--cpp/013run4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/013run b/cpp/013run
index 22239667..26436392 100644
--- a/cpp/013run
+++ b/cpp/013run
@@ -26,12 +26,16 @@ struct routine {
   routine(recipe_number r) :running_recipe(r), running_at(0) {}
 };
 
+:(before "End Globals")
+routine Current_routine(0);
+
 :(code)
 void run(recipe_number r) {
   run(routine(r));
 }
 
 void run(routine rr) {
+  Current_routine = rr;
   while (!done(rr)) {
     vector<instruction>& instructions = steps(rr);
     size_t& pc = running_at(rr);
d INSTALL' href='/akspecs/ranger/commit/README?id=240394a494b0bbb854687a34941bf90a5ccd5b4d'>240394a4 ^
03ed2a43 ^






2e74f350 ^
03ed2a43 ^
7bf5f967 ^
03ed2a43 ^
7dc8fef8 ^
4833bc23 ^

4ea0f69a ^

03ed2a43 ^
240394a4 ^
240394a4 ^

9a619526 ^
7dc8fef8 ^
9e89f023 ^
36e4e71e ^
20ab9343 ^

20ab9343 ^





4ea0f69a ^

240394a4 ^
7dc8fef8 ^
36e4e71e ^

4a383291 ^
78a7d762 ^
e952d6cb ^
78a7d762 ^
03ed2a43 ^
4ea0f69a ^

7838675f ^

bc54f757 ^
6ff9bb6f ^
03ed2a43 ^
7838675f ^

2c8cb95f ^
03ed2a43 ^



7838675f ^
03ed2a43 ^
2c8cb95f ^
03ed2a43 ^

ae99c2c9 ^
03ed2a43 ^




240394a4 ^



240394a4 ^
03ed2a43 ^
240394a4 ^

03ed2a43 ^


240394a4 ^

03ed2a43 ^


2c8cb95f ^
03ed2a43 ^
240394a4 ^

e5fb3d74 ^
240394a4 ^

03ed2a43 ^

7dc8fef8 ^


03ed2a43 ^
d9b5426e ^
78edc1ed ^
d9b5426e ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113