about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--076continuation.cc3
1 files changed, 3 insertions, 0 deletions
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")
-tests.cc?h=hlt&id=caaeccd68e2baf49c4df5ada5799cffcecb51c60'>caaeccd6 ^
caaeccd6 ^
4a943d4e ^
6f6d458f ^

4a943d4e ^
83c67014 ^
4a943d4e ^












caaeccd6 ^

83c67014 ^
c442a5ad ^
caaeccd6 ^





03d50cc8 ^
caaeccd6 ^




03d50cc8 ^
caaeccd6 ^
















caaeccd6 ^



























1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95