diff options
Diffstat (limited to '014literal_string.cc')
-rw-r--r-- | 014literal_string.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/014literal_string.cc b/014literal_string.cc index 209a6428..a94d5451 100644 --- a/014literal_string.cc +++ b/014literal_string.cc @@ -118,9 +118,9 @@ if (s.at(0) == '[') { //: Unlike other reagents, escape newlines in literal strings to make them //: more friendly to trace(). -:(after "string reagent::to_string()") - if (is_literal_string(*this)) - return emit_literal_string(name); +:(after "string to_string(const reagent& r)") + if (is_literal_string(r)) + return emit_literal_string(r.name); :(code) bool is_literal_string(const reagent& x) { |