From a4ef18b194a24710847be59554e51a1fd618228d Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 16 Mar 2015 22:52:04 -0700 Subject: 940 - c++: some changes to instruction model --- cpp/.traces/add | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'cpp/.traces/add') diff --git a/cpp/.traces/add b/cpp/.traces/add index eaa94f85..c831e62a 100644 --- a/cpp/.traces/add +++ b/cpp/.traces/add @@ -1,13 +1,13 @@ parse/0: instruction: 1 -parse/0: ingredient: {name: "23", type: 0} -parse/0: product: {name: "1", type: 1} +parse/0: ingredient: {name: "23", value: 23, type: 0, properties: [23: literal]} +parse/0: product: {name: "1", value: 1, type: 1, properties: [1: integer]} parse/0: instruction: 1 -parse/0: ingredient: {name: "34", type: 0} -parse/0: product: {name: "2", type: 1} +parse/0: ingredient: {name: "34", value: 34, type: 0, properties: [34: literal]} +parse/0: product: {name: "2", value: 2, type: 1, properties: [2: integer]} parse/0: instruction: 2 -parse/0: ingredient: {name: "1", type: 1} -parse/0: ingredient: {name: "2", type: 1} -parse/0: product: {name: "3", type: 1} +parse/0: ingredient: {name: "1", value: 1, type: 1, properties: [1: integer]} +parse/0: ingredient: {name: "2", value: 2, type: 1, properties: [2: integer]} +parse/0: product: {name: "3", value: 3, type: 1, properties: [3: integer]} run/0: instruction main/0 run/0: ingredient 0 is 23 mem/0: storing in location 1 -- cgit 1.4.1-2-gfad0