about summary refs log tree commit diff stats
path: root/011load.cc
diff options
context:
space:
mode:
Diffstat (limited to '011load.cc')
-rw-r--r--011load.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/011load.cc b/011load.cc
index 9e42e67e..b887c369 100644
--- a/011load.cc
+++ b/011load.cc
@@ -228,6 +228,14 @@ void show_rest_of_stream(istream& in) {
   exit(0);
 }
 
+:(scenario recipe_instead_of_def)
+recipe main [
+  1:number <- copy 23
+]
++parse: instruction: copy
++parse:   ingredient: {23: "literal"}
++parse:   product: {1: "number"}
+
 :(scenario parse_comment_outside_recipe)
 # this comment will be dropped by the tangler, so we need a dummy recipe to stop that
 def f1 [