From 82ac0b7ecbc145ed8c8ecd8309166f654af1ee75 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 14 Apr 2015 19:06:57 -0700 Subject: 1063 - variable names for surrounding spaces now work This was a pain to debug. --- cpp/023call_reply | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp/023call_reply') diff --git a/cpp/023call_reply b/cpp/023call_reply index 476875ab..4c9fe34c 100644 --- a/cpp/023call_reply +++ b/cpp/023call_reply @@ -27,6 +27,7 @@ case REPLY: { callee_results.push_back(read_memory(instructions[pc].ingredients[i])); } rr.calls.pop(); + assert(!rr.calls.empty()); size_t& caller_pc = rr.calls.top().pc; instruction& caller_instruction = Recipe[rr.calls.top().running_recipe].steps[caller_pc]; assert(caller_instruction.products.size() <= callee_results.size()); -- cgit 1.4.1-2-gfad0