diff options
Diffstat (limited to '062rewrite_stash.cc')
-rw-r--r-- | 062rewrite_stash.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/062rewrite_stash.cc b/062rewrite_stash.cc index 7ef0f38c..92a885e2 100644 --- a/062rewrite_stash.cc +++ b/062rewrite_stash.cc @@ -144,23 +144,3 @@ recipe main [ stash x ] +app: 34 35 - -:(before "End Primitive Recipe Declarations") -TO_TEXT, -:(before "End Primitive Recipe Numbers") -put(Recipe_ordinal, "to-text", TO_TEXT); -:(before "End Primitive Recipe Checks") -case TO_TEXT: { - if (SIZE(inst.ingredients) != 1) { - raise << maybe(get(Recipe, r).name) << "'to-text' requires a single ingredient, but got '" << inst.original_string << "'\n" << end(); - break; - } - // can handle any type - break; -} -:(before "End Primitive Recipe Implementations") -case TO_TEXT: { - products.resize(1); - products.at(0).push_back(new_mu_string(print_mu(current_instruction().ingredients.at(0), ingredients.at(0)))); - break; -} |