From d37c983a778d53f991999e6b2b309a07a9bca0b0 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 21 Mar 2018 21:52:53 -0700 Subject: 4231 --- 076continuation.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/076continuation.cc b/076continuation.cc index 50e4f637..fd51869d 100644 --- a/076continuation.cc +++ b/076continuation.cc @@ -191,6 +191,9 @@ RETURN_CONTINUATION_UNTIL_MARK, Recipe_ordinal["return-continuation-until-mark"] = RETURN_CONTINUATION_UNTIL_MARK; :(before "End Primitive Recipe Checks") case RETURN_CONTINUATION_UNTIL_MARK: { + if (inst.ingredients.empty()) { + raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' requires at least one ingredient: a mark tag (number)\n" << end(); + } break; } :(before "End Primitive Recipe Implementations") -- cgit 1.4.1-2-gfad0