about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-08-13 21:21:08 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-08-13 21:21:08 -0700
commit00dd668593d4e4c1e6821e8f7703815d4aa654a7 (patch)
tree817774c1f8c0f3ada3511b49ba34633ea33e82c8
parent639922e8691d617862c7c3d46e0d5a4b0a19dd9c (diff)
downloadmu-00dd668593d4e4c1e6821e8f7703815d4aa654a7.tar.gz
3179
-rw-r--r--014literal_string.cc4
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();