diff options
-rw-r--r-- | 014literal_string.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/014literal_string.cc b/014literal_string.cc index 44f16bd5..421e873f 100644 --- a/014literal_string.cc +++ b/014literal_string.cc @@ -40,8 +40,8 @@ string slurp_quoted(istream& in) { return out.str(); } -// A string is a code string if it contains a newline before any non-whitespace -// todo: support comments before the newline. But that gets messy. +// A string is a code string (ignores comments when scanning for matching +// brackets) if it contains a newline at the start before any non-whitespace. bool is_code_string(istream& in, ostream& out) { while (has_data(in)) { char c = in.get(); |