about summary refs log tree commit diff stats
path: root/011load.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-15 13:23:00 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-15 13:23:00 -0700
commitd63cddeac0f5fb7eeaeacf828765965e9b61b6ca (patch)
tree8a5b91a1a377ab94916aeb0dc2fca23ab75de96e /011load.cc
parentb6e33d0222cff567d49aa034900bb5c1db209886 (diff)
downloadmu-d63cddeac0f5fb7eeaeacf828765965e9b61b6ca.tar.gz
3364
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 [