From 2b25071710656d7a755c2f66c99734cd7990d1ba Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 26 May 2017 16:43:18 -0700 Subject: 3877 --- html/087file.cc.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'html/087file.cc.html') diff --git a/html/087file.cc.html b/html/087file.cc.html index 7dee6f67..a90b7c37 100644 --- a/html/087file.cc.html +++ b/html/087file.cc.html @@ -77,7 +77,7 @@ if ('onhashchange' in window) { 16 :(before "End Primitive Recipe Checks") 17 case _OPEN_FILE_FOR_READING: { 18 if (SIZE(inst.ingredients) != 1) { - 19 ¦ raise << maybe(get(Recipe, r).name) << "'$open-file-for-reading' requires exactly one ingredient, but got '" << inst.original_string << "'\n" << end(); + 19 ¦ raise << maybe(get(Recipe, r).name) << "'$open-file-for-reading' requires exactly one ingredient, but got '" << to_original_string(inst) << "'\n" << end(); 20 ¦ break; 21 } 22 if (!is_mu_text(inst.ingredients.at(0))) { @@ -85,7 +85,7 @@ if ('onhashchange' in window) { 24 ¦ break; 25 } 26 if (SIZE(inst.products) != 1) { - 27 ¦ raise << maybe(get(Recipe, r).name) << "'$open-file-for-reading' requires exactly one product, but got '" << inst.original_string << "'\n" << end(); + 27 ¦ raise << maybe(get(Recipe, r).name) << "'$open-file-for-reading' requires exactly one product, but got '" << to_original_string(inst) << "'\n" << end(); 28 ¦ break; 29 } 30 if (!is_mu_number(inst.products.at(0))) { @@ -112,7 +112,7 @@ if ('onhashchange' in window) { 51 :(before "End Primitive Recipe Checks") 52 case _OPEN_FILE_FOR_WRITING: { 53 if (SIZE(inst.ingredients) != 1) { - 54 ¦ raise << maybe(get(Recipe, r).name) << "'$open-file-for-writing' requires exactly one ingredient, but got '" << inst.original_string << "'\n" << end(); + 54 ¦ raise << maybe(get(Recipe, r).name) << "'$open-file-for-writing' requires exactly one ingredient, but got '" << to_original_string(inst) << "'\n" << end(); 55 ¦ break; 56 } 57 if (!is_mu_text(inst.ingredients.at(0))) { @@ -120,7 +120,7 @@ if ('onhashchange' in window) { 59 ¦ break; 60 } 61 if (SIZE(inst.products) != 1) { - 62 ¦ raise << maybe(get(Recipe, r).name) << "'$open-file-for-writing' requires exactly one product, but got '" << inst.original_string << "'\n" << end(); + 62 ¦ raise << maybe(get(Recipe, r).name) << "'$open-file-for-writing' requires exactly one product, but got '" << to_original_string(inst) << "'\n" << end(); 63 ¦ break; 64 } 65 if (!is_mu_number(inst.products.at(0))) { @@ -146,7 +146,7 @@ if ('onhashchange' in window) { 85 :(before "End Primitive Recipe Checks") 86 case _READ_FROM_FILE: { 87 if (SIZE(inst.ingredients) != 1) { - 88 ¦ raise << maybe(get(Recipe, r).name) << "'$read-from-file' requires exactly one ingredient, but got '" << inst.original_string << "'\n" << end(); + 88 ¦ raise << maybe(get(Recipe, r).name) << "'$read-from-file' requires exactly one ingredient, but got '" << to_original_string(inst) << "'\n" << end(); 89 ¦ break; 90 } 91 if (!is_mu_number(inst.ingredients.at(0))) { @@ -154,7 +154,7 @@ if ('onhashchange' in window) { 93 ¦ break; 94 } 95 if (SIZE(inst.products) != 2) { - 96 ¦ raise << maybe(get(Recipe, r).name) << "'$read-from-file' requires exactly two products, but got '" << inst.original_string << "'\n" << end(); + 96 ¦ raise << maybe(get(Recipe, r).name) << "'$read-from-file' requires exactly two products, but got '" << to_original_string(inst) << "'\n" << end(); 97 ¦ break; 98 } 99 if (!is_mu_character(inst.products.at(0))) { @@ -210,7 +210,7 @@ if ('onhashchange' in window) { 149 :(before "End Primitive Recipe Checks") 150 case _WRITE_TO_FILE: { 151 if (SIZE(inst.ingredients) != 2) { -152 ¦ raise << maybe(get(Recipe, r).name) << "'$write-to-file' requires exactly two ingredients, but got '" << inst.original_string << "'\n" << end(); +152 ¦ raise << maybe(get(Recipe, r).name) << "'$write-to-file' requires exactly two ingredients, but got '" << to_original_string(inst) << "'\n" << end(); 153 ¦ break; 154 } 155 if (!is_mu_number(inst.ingredients.at(0))) { @@ -222,7 +222,7 @@ if ('onhashchange' in window) { 161 ¦ break; 162 } 163 if (!inst.products.empty()) { -164 ¦ raise << maybe(get(Recipe, r).name) << "'$write-to-file' writes to no products, but got '" << inst.original_string << "'\n" << end(); +164 ¦ raise << maybe(get(Recipe, r).name) << "'$write-to-file' writes to no products, but got '" << to_original_string(inst) << "'\n" << end(); 165 ¦ break; 166 } 167 break; @@ -258,7 +258,7 @@ if ('onhashchange' in window) { 197 :(before "End Primitive Recipe Checks") 198 case _CLOSE_FILE: { 199 if (SIZE(inst.ingredients) != 1) { -200 ¦ raise << maybe(get(Recipe, r).name) << "'$close-file' requires exactly one ingredient, but got '" << inst.original_string << "'\n" << end(); +200 ¦ raise << maybe(get(Recipe, r).name) << "'$close-file' requires exactly one ingredient, but got '" << to_original_string(inst) << "'\n" << end(); 201 ¦ break; 202 } 203 if (!is_mu_number(inst.ingredients.at(0))) { @@ -266,11 +266,11 @@ if ('onhashchange' in window) { 205 ¦ break; 206 } 207 if (SIZE(inst.products) != 1) { -208 ¦ raise << maybe(get(Recipe, r).name) << "'$close-file' requires exactly one product, but got '" << inst.original_string << "'\n" << end(); +208 ¦ raise << maybe(get(Recipe, r).name) << "'$close-file' requires exactly one product, but got '" << to_original_string(inst) << "'\n" << end(); 209 ¦ break; 210 } 211 if (inst.products.at(0).name != inst.ingredients.at(0).name) { -212 ¦ raise << maybe(get(Recipe, r).name) << "'$close-file' requires its product to be the same as its ingredient, but got '" << inst.original_string << "'\n" << end(); +212 ¦ raise << maybe(get(Recipe, r).name) << "'$close-file' requires its product to be the same as its ingredient, but got '" << to_original_string(inst) << "'\n" << end(); 213 ¦ break; 214 } 215 break; -- cgit 1.4.1-2-gfad0