diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-21 12:36:59 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-21 13:00:42 -0700 |
commit | d7494165ec7ae507c7340dcaad2e2c95fda5ee11 (patch) | |
tree | 465d0d93dc8380e292c763416bf947e7a25c45e1 /013literal_string.cc | |
parent | 5af8334699b54162423fa3290ffef9fd5d247816 (diff) | |
download | mu-d7494165ec7ae507c7340dcaad2e2c95fda5ee11.tar.gz |
1414 - traces now robust to new recipes/types
Diffstat (limited to '013literal_string.cc')
-rw-r--r-- | 013literal_string.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/013literal_string.cc b/013literal_string.cc index 44a94db2..95f2975b 100644 --- a/013literal_string.cc +++ b/013literal_string.cc @@ -10,13 +10,13 @@ recipe main [ 1:address:array:character <- copy [abc def] # copy can't really take a string ] -+parse: ingredient: {name: "abc def", value: 0, type: 0, properties: ["abc def": "literal-string"]} ++parse: ingredient: {name: "abc def", properties: ["abc def": "literal-string"]} :(scenario string_literal_with_colons) recipe main [ 1:address:array:character <- copy [abc:def/ghi] ] -+parse: ingredient: {name: "abc:def/ghi", value: 0, type: 0, properties: ["abc:def/ghi": "literal-string"]} ++parse: ingredient: {name: "abc:def/ghi", properties: ["abc:def/ghi": "literal-string"]} :(before "End Mu Types Initialization") Type_number["literal-string"] = 0; @@ -65,14 +65,14 @@ string slurp_quoted(istream& in) { recipe main [ 1:address:array:character <- copy [abc [def]] ] -+parse: ingredient: {name: "abc [def]", value: 0, type: 0, properties: ["abc [def]": "literal-string"]} ++parse: ingredient: {name: "abc [def]", properties: ["abc [def]": "literal-string"]} :(scenario string_literal_and_comment) recipe main [ 1:address:array:character <- copy [abc] # comment ] +parse: instruction: copy -+parse: ingredient: {name: "abc", value: 0, type: 0, properties: ["abc": "literal-string"]} -+parse: product: {name: "1", value: 0, type: 2-5-4, properties: ["1": "address":"array":"character"]} ++parse: ingredient: {name: "abc", properties: ["abc": "literal-string"]} ++parse: product: {name: "1", properties: ["1": "address":"array":"character"]} # no other ingredients $parse: 3 |