about summary refs log tree commit diff stats
path: root/020run.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 /020run.cc
parent01caf342d072115c27926b1a61c2fc75ab9fbee0 (diff)
downloadmu-5497090aa1e708c22cd240913a53dda32bb067aa.tar.gz
1363 - rename 'integer' to 'number'
..now that we support non-integers.
Diffstat (limited to '020run.cc')
-rw-r--r--020run.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/020run.cc b/020run.cc
index 1b7c2edc..288ed708 100644
--- a/020run.cc
+++ b/020run.cc
@@ -11,7 +11,7 @@
 
 :(scenario copy_literal)
 recipe main [
-  1:integer <- copy 23:literal
+  1:number <- copy 23:literal
 ]
 +run: instruction main/0
 +run: ingredient 0 is 23
@@ -19,8 +19,8 @@ recipe main [
 
 :(scenario copy)
 recipe main [
-  1:integer <- copy 23:literal
-  2:integer <- copy 1:integer
+  1:number <- copy 23:literal
+  2:number <- copy 1:number
 ]
 +run: instruction main/1
 +run: ingredient 0 is 1
@@ -29,7 +29,7 @@ recipe main [
 
 :(scenario copy_multiple)
 recipe main [
-  1:integer, 2:integer <- copy 23:literal, 24:literal
+  1:number, 2:number <- copy 23:literal, 24:literal
 ]
 +run: ingredient 0 is 23
 +run: ingredient 1 is 24
@@ -226,8 +226,8 @@ bool isa_literal(const reagent& r) {
 :(scenario run_label)
 recipe main [
   +foo
-  1:integer <- copy 23:literal
-  2:integer <- copy 1:integer
+  1:number <- copy 23:literal
+  2:number <- copy 1:number
 ]
 +run: instruction main/1
 +run: instruction main/2