about summary refs log tree commit diff stats
path: root/039wait.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-13 10:03:26 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-13 10:03:26 -0700
commit5497090aa1e708c22cd240913a53dda32bb067aa (patch)
tree5a9eb76d447736a8199230c9386bd0a374b325dd /039wait.cc
parent01caf342d072115c27926b1a61c2fc75ab9fbee0 (diff)
downloadmu-5497090aa1e708c22cd240913a53dda32bb067aa.tar.gz
1363 - rename 'integer' to 'number'
..now that we support non-integers.
Diffstat (limited to '039wait.cc')
-rw-r--r--039wait.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/039wait.cc b/039wait.cc
index 82354a53..c7743785 100644
--- a/039wait.cc
+++ b/039wait.cc
@@ -5,14 +5,14 @@
 
 :(scenario wait_for_location)
 recipe f1 [
-  1:integer <- copy 0:literal
+  1:number <- copy 0:literal
   start-running f2:recipe
-  wait-for-location 1:integer
+  wait-for-location 1:number
   # now wait for f2 to run and modify location 1 before using its value
-  2:integer <- copy 1:integer
+  2:number <- copy 1:number
 ]
 recipe f2 [
-  1:integer <- copy 34:literal
+  1:number <- copy 34:literal
 ]
 # if we got the synchronization wrong we'd be storing 0 in location 2
 +mem: storing 34 in location 2
@@ -67,14 +67,14 @@ for (index_t i = 0; i < Routines.size(); ++i) {
 
 :(scenario wait_for_routine)
 recipe f1 [
-  1:integer <- copy 0:literal
-  12:integer/routine <- start-running f2:recipe
-  wait-for-routine 12:integer/routine
+  1:number <- copy 0:literal
+  12:number/routine <- start-running f2:recipe
+  wait-for-routine 12:number/routine
   # now wait for f2 to run and modify location 1 before using its value
-  3:integer <- copy 1:integer
+  3:number <- copy 1:number
 ]
 recipe f2 [
-  1:integer <- copy 34:literal
+  1:number <- copy 34:literal
 ]
 +schedule: f1
 +run: waiting for routine 2