From ba1fb981f6ce186e37c73e26ec79925bbaf991eb Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 4 Apr 2017 10:49:13 -0700 Subject: 3811 --- html/021check_instruction.cc.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html/021check_instruction.cc.html') diff --git a/html/021check_instruction.cc.html b/html/021check_instruction.cc.html index 60edd3e7..4bf85679 100644 --- a/html/021check_instruction.cc.html +++ b/html/021check_instruction.cc.html @@ -84,8 +84,8 @@ if ('onhashchange' in window) { 21 ¦ switch (inst.operation) { 22 ¦ ¦ // Primitive Recipe Checks 23 ¦ ¦ case COPY: { - 24 ¦ ¦ ¦ if (SIZE(inst.products) != SIZE(inst.ingredients)) { - 25 ¦ ¦ ¦ ¦ raise << maybe(get(Recipe, r).name) << "ingredients and products should match in '" << inst.original_string << "'\n" << end(); + 24 ¦ ¦ ¦ if (SIZE(inst.products) > SIZE(inst.ingredients)) { + 25 ¦ ¦ ¦ ¦ raise << maybe(get(Recipe, r).name) << "too many products in '" << inst.original_string << "'\n" << end(); 26 ¦ ¦ ¦ ¦ break; 27 ¦ ¦ ¦ } 28 ¦ ¦ ¦ for (int i = 0; i < SIZE(inst.ingredients); ++i) { -- cgit 1.4.1-2-gfad0