diff options
author | Evan Martin <martine@danga.com> | 2012-06-12 22:11:22 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2012-06-12 22:11:22 (GMT) |
commit | 18ea1ffd900dd81116728c8638d687ec5ca02cc0 (patch) | |
tree | d5e78f45189114e2ab4b5422c652262ddd7d5211 /src/depfile_parser.in.cc | |
parent | a25309c029a5a8faae2d77420072d5ed9342a065 (diff) | |
download | Ninja-18ea1ffd900dd81116728c8638d687ec5ca02cc0.zip Ninja-18ea1ffd900dd81116728c8638d687ec5ca02cc0.tar.gz Ninja-18ea1ffd900dd81116728c8638d687ec5ca02cc0.tar.bz2 |
allow '(' and ')' in depfile paths
Fixes issue #327.
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 5e073df..8c415b9 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 = in - start; // Need to shift it over if we're overwriting backslashes. |