about summary refs log tree commit diff stats
path: root/cpp/042new
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-24 10:19:03 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-24 10:19:03 -0700
commit88be3dbc0c996490dbac97538f4d712a5b4f6f07 (patch)
treedbba8f597d3090bb71553544ba28c59644973b3b /cpp/042new
parente351d6fd04d95068fac4402dc103e0752182fa8d (diff)
downloadmu-88be3dbc0c996490dbac97538f4d712a5b4f6f07.tar.gz
1162
Diffstat (limited to 'cpp/042new')
-rw-r--r--cpp/042new6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/042new b/cpp/042new
index 7244cca2..0fa7e16a 100644
--- a/cpp/042new
+++ b/cpp/042new
@@ -1,7 +1,7 @@
 //: A simple memory allocator to create space for new variables at runtime.
 
 :(scenarios run)
-:(scenario "new")
+:(scenario new)
 # call new two times with identical arguments; you should get back different results
 recipe main [
   1:address:integer/raw <- new integer:type
@@ -64,7 +64,7 @@ case NEW: {
   break;
 }
 
-:(scenario "new_array")
+:(scenario new_array)
 recipe main [
   1:address:array:integer/raw <- new integer:type, 5:literal
   2:address:integer/raw <- new integer:type
@@ -78,7 +78,7 @@ recipe main [
 
 //:: Next, extend 'new' to handle a string literal argument.
 
-:(scenario "new_string")
+:(scenario new_string)
 recipe main [
   1:address:array:character <- new [abc def]
   2:character <- index 1:address:array:character/deref, 5:literal