about summary refs log tree commit diff stats
path: root/040brace.cc
diff options
context:
space:
mode:
Diffstat (limited to '040brace.cc')
-rw-r--r--040brace.cc76
1 files changed, 38 insertions, 38 deletions
diff --git a/040brace.cc b/040brace.cc
index d8ed387e..dcacdace 100644
--- a/040brace.cc
+++ b/040brace.cc
@@ -24,7 +24,7 @@
 recipe main [
   {
     break
-    1:number <- copy 0:literal
+    1:number <- copy 0
   }
 ]
 +after-brace: recipe main
@@ -157,10 +157,10 @@ Recipe_ordinal["loop-unless"] = LOOP_UNLESS;
 
 :(scenario loop)
 recipe main [
-  1:number <- copy 0:literal
-  2:number <- copy 0:literal
+  1:number <- copy 0
+  2:number <- copy 0
   {
-    3:number <- copy 0:literal
+    3:number <- copy 0
     loop
   }
 ]
@@ -172,7 +172,7 @@ recipe main [
 
 :(scenario break_empty_block)
 recipe main [
-  1:number <- copy 0:literal
+  1:number <- copy 0
   {
     break
   }
@@ -183,7 +183,7 @@ recipe main [
 
 :(scenario break_cascading)
 recipe main [
-  1:number <- copy 0:literal
+  1:number <- copy 0
   {
     break
   }
@@ -198,11 +198,11 @@ recipe main [
 
 :(scenario break_cascading2)
 recipe main [
-  1:number <- copy 0:literal
-  2:number <- copy 0:literal
+  1:number <- copy 0
+  2:number <- copy 0
   {
     break
-    3:number <- copy 0:literal
+    3:number <- copy 0
   }
   {
     break
@@ -217,11 +217,11 @@ recipe main [
 
 :(scenario break_if)
 recipe main [
-  1:number <- copy 0:literal
-  2:number <- copy 0:literal
+  1:number <- copy 0
+  2:number <- copy 0
   {
     break-if 2:number
-    3:number <- copy 0:literal
+    3:number <- copy 0
   }
   {
     break
@@ -236,36 +236,36 @@ recipe main [
 
 :(scenario break_nested)
 recipe main [
-  1:number <- copy 0:literal
+  1:number <- copy 0
   {
-    2:number <- copy 0:literal
+    2:number <- copy 0
     break
     {
-      3:number <- copy 0:literal
+      3:number <- copy 0
     }
-    4:number <- copy 0:literal
+    4:number <- copy 0
   }
 ]
 +after-brace: jump 4:offset
 
 :(scenario break_nested_degenerate)
 recipe main [
-  1:number <- copy 0:literal
+  1:number <- copy 0
   {
-    2:number <- copy 0:literal
+    2:number <- copy 0
     break
     {
     }
-    4:number <- copy 0:literal
+    4:number <- copy 0
   }
 ]
 +after-brace: jump 3:offset
 
 :(scenario break_nested_degenerate2)
 recipe main [
-  1:number <- copy 0:literal
+  1:number <- copy 0
   {
-    2:number <- copy 0:literal
+    2:number <- copy 0
     break
     {
     }
@@ -276,7 +276,7 @@ recipe main [
 :(scenario break_label)
 % Hide_warnings = true;
 recipe main [
-  1:number <- copy 0:literal
+  1:number <- copy 0
   {
     break +foo:offset
   }
@@ -285,11 +285,11 @@ recipe main [
 
 :(scenario break_unless)
 recipe main [
-  1:number <- copy 0:literal
-  2:number <- copy 0:literal
+  1:number <- copy 0
+  2:number <- copy 0
   {
     break-unless 2:number
-    3:number <- copy 0:literal
+    3:number <- copy 0
   }
 ]
 +after-brace: recipe main
@@ -300,11 +300,11 @@ recipe main [
 
 :(scenario loop_unless)
 recipe main [
-  1:number <- copy 0:literal
-  2:number <- copy 0:literal
+  1:number <- copy 0
+  2:number <- copy 0
   {
     loop-unless 2:number
-    3:number <- copy 0:literal
+    3:number <- copy 0
   }
 ]
 +after-brace: recipe main
@@ -315,14 +315,14 @@ recipe main [
 
 :(scenario loop_nested)
 recipe main [
-  1:number <- copy 0:literal
+  1:number <- copy 0
   {
-    2:number <- copy 0:literal
+    2:number <- copy 0
     {
-      3:number <- copy 0:literal
+      3:number <- copy 0
     }
     loop-if 4:boolean
-    5:number <- copy 0:literal
+    5:number <- copy 0
   }
 ]
 +after-brace: recipe main
@@ -330,9 +330,9 @@ recipe main [
 
 :(scenario loop_label)
 recipe main [
-  1:number <- copy 0:literal
+  1:number <- copy 0
   +foo
-  2:number <- copy 0:literal
+  2:number <- copy 0
 ]
 +after-brace: recipe main
 +after-brace: copy ...
@@ -343,14 +343,14 @@ recipe main [
 :(scenario brace_conversion_and_run)
 #? % Trace_stream->dump_layer = "run";
 recipe test-factorial [
-  1:number <- copy 5:literal
-  2:number <- copy 1:literal
+  1:number <- copy 5
+  2:number <- copy 1
   {
-    3:boolean <- equal 1:number, 1:literal
+    3:boolean <- equal 1:number, 1
     break-if 3:boolean
 #    $print 1:number
     2:number <- multiply 2:number, 1:number
-    1:number <- subtract 1:number, 1:literal
+    1:number <- subtract 1:number, 1
     loop
   }
   4:number <- copy 2:number  # trigger a read