about summary refs log tree commit diff stats
path: root/tangle/003tangle.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tangle/003tangle.cc')
-rw-r--r--tangle/003tangle.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tangle/003tangle.cc b/tangle/003tangle.cc
index 276cad67..c01cdb60 100644
--- a/tangle/003tangle.cc
+++ b/tangle/003tangle.cc
@@ -335,7 +335,7 @@ void emit_test(const string& name, list<Line>& lines, list<Line>& result) {
 
 bool is_input(const string& line) {
   if (line.empty()) return true;
-  return line != "===" && line.at(0) != '+' && line.at(0) != '-' && line.at(0) != '$' && line.at(0) != '?';
+  return line != "===" && line.find_first_of("+-$?%") != 0;
 }
 
 Line input_lines(list<Line>& hunk) {