about summary refs log tree commit diff stats
path: root/021check_instruction.cc
diff options
context:
space:
mode:
Diffstat (limited to '021check_instruction.cc')
-rw-r--r--021check_instruction.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/021check_instruction.cc b/021check_instruction.cc
index 6b716362..b8aa3663 100644
--- a/021check_instruction.cc
+++ b/021check_instruction.cc
@@ -22,7 +22,7 @@ void check_instruction(const recipe_ordinal r) {
       // Primitive Recipe Checks
       case COPY: {
         if (SIZE(inst.products) > SIZE(inst.ingredients)) {
-          raise << maybe(get(Recipe, r).name) << "too many products in '" << inst.original_string << "'\n" << end();
+          raise << maybe(get(Recipe, r).name) << "too many products in '" << to_original_string(inst) << "'\n" << end();
           break;
         }
         for (int i = 0;  i < SIZE(inst.products);  ++i) {