diff options
Diffstat (limited to 'html/014literal_string.cc.html')
-rw-r--r-- | html/014literal_string.cc.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/014literal_string.cc.html b/html/014literal_string.cc.html index 80844f8d..c917373b 100644 --- a/html/014literal_string.cc.html +++ b/html/014literal_string.cc.html @@ -74,8 +74,8 @@ string slurp_quoted<span class="Delimiter">(</span>istream& in<span class="D <span class="Identifier">return</span> out<span class="Delimiter">.</span>str<span class="Delimiter">();</span> <span class="Delimiter">}</span> -<span class="Comment">// A string is a code string if it contains a newline before any non-whitespace</span> -<span class="Comment">// todo: support comments before the newline. But that gets messy.</span> +<span class="Comment">// A string is a code string (ignores comments when scanning for matching</span> +<span class="Comment">// brackets) if it contains a newline at the start before any non-whitespace.</span> <span class="Normal">bool</span> is_code_string<span class="Delimiter">(</span>istream& in<span class="Delimiter">,</span> ostream& out<span class="Delimiter">)</span> <span class="Delimiter">{</span> <span class="Normal">while</span> <span class="Delimiter">(</span>has_data<span class="Delimiter">(</span>in<span class="Delimiter">))</span> <span class="Delimiter">{</span> <span class="Normal">char</span> c = in<span class="Delimiter">.</span>get<span class="Delimiter">();</span> |