summaryrefslogtreecommitdiffstats
path: root/src/depfile_parser.in.cc
diff options
context:
space:
mode:
authorMaxim Kalaev <maximus.ka@gmail.com>2014-05-07 17:56:32 (GMT)
committerMaxim Kalaev <maximus.ka@gmail.com>2014-05-07 18:18:42 (GMT)
commit2136ca304ad492189b59c0a9e747541c6ea29002 (patch)
tree218e4837f92ecf9ef178aee726b6644d0458763e /src/depfile_parser.in.cc
parent1a465ea6c895e4984f9ea7dfea355b66cb489cca (diff)
downloadNinja-2136ca304ad492189b59c0a9e747541c6ea29002.zip
Ninja-2136ca304ad492189b59c0a9e747541c6ea29002.tar.gz
Ninja-2136ca304ad492189b59c0a9e747541c6ea29002.tar.bz2
Allow paths with '{' '}' in depfiles
Diffstat (limited to 'src/depfile_parser.in.cc')
-rw-r--r--src/depfile_parser.in.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depfile_parser.in.cc b/src/depfile_parser.in.cc
index ba77079..b59baf0 100644
--- a/src/depfile_parser.in.cc
+++ b/src/depfile_parser.in.cc
@@ -73,7 +73,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.