diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-13 10:03:26 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-13 10:03:26 -0700 |
commit | 5497090aa1e708c22cd240913a53dda32bb067aa (patch) | |
tree | 5a9eb76d447736a8199230c9386bd0a374b325dd /050scenario.cc | |
parent | 01caf342d072115c27926b1a61c2fc75ab9fbee0 (diff) | |
download | mu-5497090aa1e708c22cd240913a53dda32bb067aa.tar.gz |
1363 - rename 'integer' to 'number'
..now that we support non-integers.
Diffstat (limited to '050scenario.cc')
-rw-r--r-- | 050scenario.cc | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/050scenario.cc b/050scenario.cc index c5ff2765..e91cb3ae 100644 --- a/050scenario.cc +++ b/050scenario.cc @@ -8,7 +8,7 @@ :(scenario scenario_block) scenario foo [ run [ - 1:integer <- copy 13:literal + 1:number <- copy 13:literal ] memory-should-contain [ 1 <- 13 @@ -19,13 +19,13 @@ scenario foo [ :(scenario scenario_multiple_blocks) scenario foo [ run [ - 1:integer <- copy 13:literal + 1:number <- copy 13:literal ] memory-should-contain [ 1 <- 13 ] run [ - 2:integer <- copy 13:literal + 2:number <- copy 13:literal ] memory-should-contain [ 1 <- 13 @@ -36,7 +36,7 @@ scenario foo [ :(scenario scenario_check_memory_and_trace) scenario foo [ run [ - 1:integer <- copy 13:literal + 1:number <- copy 13:literal trace [a], [a b c] ] memory-should-contain [ @@ -138,7 +138,7 @@ void run_mu_scenario(const scenario& s) { #? % Trace_stream->dump_layer = "all"; recipe main [ run [ - 1:integer <- copy 13:literal + 1:number <- copy 13:literal ] ] +mem: storing 13 in location 1 @@ -165,10 +165,10 @@ case RUN: { :(scenario run_multiple) recipe main [ run [ - 1:integer <- copy 13:literal + 1:number <- copy 13:literal ] run [ - 2:integer <- copy 13:literal + 2:number <- copy 13:literal ] ] +mem: storing 13 in location 1 @@ -275,10 +275,10 @@ recipe main [ :(scenario memory_check_string_length) % Hide_warnings = true; recipe main [ - 1:integer <- copy 3:literal - 2:integer <- copy 97:literal # 'a' - 3:integer <- copy 98:literal # 'b' - 4:integer <- copy 99:literal # 'c' + 1:number <- copy 3:literal + 2:number <- copy 97:literal # 'a' + 3:number <- copy 98:literal # 'b' + 4:number <- copy 99:literal # 'c' memory-should-contain [ 1:string <- [ab] ] @@ -287,10 +287,10 @@ recipe main [ :(scenario memory_check_string) recipe main [ - 1:integer <- copy 3:literal - 2:integer <- copy 97:literal # 'a' - 3:integer <- copy 98:literal # 'b' - 4:integer <- copy 99:literal # 'c' + 1:number <- copy 3:literal + 2:number <- copy 97:literal # 'a' + 3:number <- copy 98:literal # 'b' + 4:number <- copy 99:literal # 'c' memory-should-contain [ 1:string <- [abc] ] |