about summary refs log tree commit diff stats
path: root/013literal_string.cc
diff options
context:
space:
mode:
Diffstat (limited to '013literal_string.cc')
-rw-r--r--013literal_string.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/013literal_string.cc b/013literal_string.cc
index 60c8f58a..7424a31d 100644
--- a/013literal_string.cc
+++ b/013literal_string.cc
@@ -33,7 +33,7 @@ Type_ordinal["literal-string"] = 0;
 string slurp_quoted(istream& in) {
   ostringstream out;
   assert(!in.eof());  assert(in.peek() == '[');  out << static_cast<char>(in.get());  // slurp the '['
-  if (code_string(in, out))
+  if (is_code_string(in, out))
     slurp_quoted_comment_aware(in, out);
   else
     slurp_quoted_comment_oblivious(in, out);
@@ -42,7 +42,7 @@ string slurp_quoted(istream& in) {
 
 // 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.
-bool code_string(istream& in, ostringstream& out) {
+bool is_code_string(istream& in, ostringstream& out) {
   while (!in.eof()) {
     char c = in.get();
     if (!isspace(c)) {