diff options
author | zero9178 <markus.boeck02@gmail.com> | 2020-05-20 12:38:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-20 12:38:36 (GMT) |
commit | 52649de2c56b63f42bc59513d51286531c595b44 (patch) | |
tree | c849a69344e4423f7d69163021b810c9a4cb293a /misc/ninja_syntax.py | |
parent | cf021f32e62370b7f9c8249a6c600cbe48e849c7 (diff) | |
download | Ninja-52649de2c56b63f42bc59513d51286531c595b44.zip Ninja-52649de2c56b63f42bc59513d51286531c595b44.tar.gz Ninja-52649de2c56b63f42bc59513d51286531c595b44.tar.bz2 |
bugfix: Process escaped colon in GCC depfiles. (#1774)
* Added ability to parse escaped colons in GCC Dep files enabling ninja to parse dep files of GCC 10 on Windows
* Added generated depfile_parser.cc
* Addressed formatting
* Added extra tests with real world examples of paths produced by both GCC 10 and Clang and GCC pre 10. Adjusted one test so it doesn't fail
* Adjusted regular expression to not match \: if the character following the : is either EOF or whitespace
* Fixed typo in regex (should be 0x20 for space not 0xa)
* Changed regular expression form using lookahead to instead matching a separate expression. This was needed as re2c pre version 1.17 is broken when using lookaheads. Also added tests for \: followed by whitespace
* Addressed formatting
* Forgot a missing std::
* Fixed formatting for spaces after , as well as respecting column width
Diffstat (limited to 'misc/ninja_syntax.py')
0 files changed, 0 insertions, 0 deletions