about summary refs log tree commit diff stats
path: root/cpp/025name
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/025name')
-rw-r--r--cpp/025name5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/025name b/cpp/025name
index 45fdece2..1c73b16a 100644
--- a/cpp/025name
+++ b/cpp/025name
@@ -40,11 +40,12 @@ void transform_names(const recipe_number r) {
     // Per-recipe Transforms
     // map names to addresses
     for (size_t in = 0; in < inst.ingredients.size(); ++in) {
-//?       cout << "ingredients\n"; //? 1
+//?       cout << "ingredients\n"; //? 2
       if (is_raw(inst.ingredients[in])) continue;
-//?       cout << "ingredient " << inst.ingredients[in].name << '\n'; //? 1
+//?       cout << "ingredient " << inst.ingredients[in].name << '\n'; //? 2
       if (inst.ingredients[in].name == "default-space")
         inst.ingredients[in].initialized = true;
+      assert(!inst.ingredients[in].types.empty());
       if (inst.ingredients[in].types[0]  // not a literal
           && !inst.ingredients[in].initialized
           && inst.ingredients[in].name.find_first_not_of("0123456789-.") != string::npos) {