diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-09-15 13:09:39 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-09-15 13:09:46 -0700 |
commit | b6e33d0222cff567d49aa034900bb5c1db209886 (patch) | |
tree | bd2b218caec84ad88e0e74e5ab36cc6ab244b6d8 /tangle/003tangle.cc | |
parent | 1fd293c13e9e69df1ad65afe451821ef6ba6d941 (diff) | |
download | mu-b6e33d0222cff567d49aa034900bb5c1db209886.tar.gz |
3363 - bugfix in tangle
Diffstat (limited to 'tangle/003tangle.cc')
-rw-r--r-- | tangle/003tangle.cc | 2 |
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) { |