diff options
author | Evan Martin <martine@danga.com> | 2013-03-30 23:36:47 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2013-03-30 23:36:47 (GMT) |
commit | 7ab6dcbdb6447861eefafc47fc3e10f3273cede2 (patch) | |
tree | ed5e0cf81b20d03a58a12f6ab8c919514ea40536 /src/depfile_parser.in.cc | |
parent | e2e7a18953723e678b5280a4525ab8173fec08c9 (diff) | |
download | Ninja-7ab6dcbdb6447861eefafc47fc3e10f3273cede2.zip Ninja-7ab6dcbdb6447861eefafc47fc3e10f3273cede2.tar.gz Ninja-7ab6dcbdb6447861eefafc47fc3e10f3273cede2.tar.bz2 |
allow paths with '!' in depfiles
See funny paths in
https://github.com/google/libcxx/tree/master/test/iterators/stream.iterators/istreambuf.iterator/
Diffstat (limited to 'src/depfile_parser.in.cc')
-rw-r--r-- | src/depfile_parser.in.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depfile_parser.in.cc b/src/depfile_parser.in.cc index 1d4a177..f96cdb3 100644 --- a/src/depfile_parser.in.cc +++ b/src/depfile_parser.in.cc @@ -68,7 +68,7 @@ bool DepfileParser::Parse(string* content, string* err) { *out++ = yych; continue; } - [a-zA-Z0-9+,/_:.~()@=-]+ { + [a-zA-Z0-9+,/_:.~()@=-!]+ { // Got a span of plain text. int len = (int)(in - start); // Need to shift it over if we're overwriting backslashes. |