diff options
Diffstat (limited to 'cpp/.traces')
-rw-r--r-- | cpp/.traces/string_literal | 3 | ||||
-rw-r--r-- | cpp/.traces/string_literal_nested | 8 |
2 files changed, 9 insertions, 2 deletions
diff --git a/cpp/.traces/string_literal b/cpp/.traces/string_literal index 3f7ff417..eabc7af9 100644 --- a/cpp/.traces/string_literal +++ b/cpp/.traces/string_literal @@ -1,8 +1,7 @@ parse/0: instruction: 24 parse/0: ingredient: {name: "abc def", value: 0, type: 0, properties: ["abc def": "literal-string"]} -parse/0: product: {name: "s", value: 0, type: 2-4-7, properties: ["s": "address":"array":"character"]} +parse/0: product: {name: "1", value: 0, type: 2-4-7, properties: ["1": "address":"array":"character"]} new/0: abc def -> 0 -name/0: assign s 1 after-brace/0: recipe main after-brace/0: new ... run/0: instruction main/0 diff --git a/cpp/.traces/string_literal_nested b/cpp/.traces/string_literal_nested new file mode 100644 index 00000000..5f54d8c3 --- /dev/null +++ b/cpp/.traces/string_literal_nested @@ -0,0 +1,8 @@ +parse/0: instruction: 24 +parse/0: ingredient: {name: "abc [def]", value: 0, type: 0, properties: ["abc [def]": "literal-string"]} +parse/0: product: {name: "1", value: 0, type: 2-4-7, properties: ["1": "address":"array":"character"]} +new/0: abc [def] -> 0 +after-brace/0: recipe main +after-brace/0: new ... +run/0: instruction main/0 +mem/0: storing 1000 in location 1 |