From c63e2811a14344801950d075ca89c3601e73f065 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 26 Mar 2015 16:40:56 -0700 Subject: 972 --- cpp/013run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpp/013run') diff --git a/cpp/013run b/cpp/013run index fa7e3468..5173f6f3 100644 --- a/cpp/013run +++ b/cpp/013run @@ -118,8 +118,9 @@ recipes_added_by_test.clear(); //: beware: overridden in later layers vector read_memory(reagent x) { //? cout << "read_memory: " << x.to_string() << '\n'; //? 1 + static const int LITERAL = Type_number["literal"]; vector result; - if (x.types[0] == 0) { // literal + if (x.types[0] == LITERAL) { result.push_back(x.value); return result; } -- cgit 1.4.1-2-gfad0