about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--016dilated_reagent.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/016dilated_reagent.cc b/016dilated_reagent.cc
index 42bcfa70..09715848 100644
--- a/016dilated_reagent.cc
+++ b/016dilated_reagent.cc
@@ -53,19 +53,12 @@ bool start_of_dilated_reagent(istream& in) {
 
 // Assume the first letter is an open bracket, and read everything until the
 // matching close bracket.
-// We balance {} () and []. And we skip one character after '\'.
+// We balance {} () and [].
 string slurp_balanced_bracket(istream& in) {
   ostringstream result;
   char c;
   list<char> open_brackets;
   while (in >> c) {
-    if (c == '\\') {
-      // always silently skip the next character
-      result << c;
-      if (!(in >> c)) break;
-      result << c;
-      continue;
-    }
     if (c == '(') open_brackets.push_back(c);
     if (c == ')') {
       assert(open_brackets.back() == '(');