Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | minor re2c cleanups | Evan Martin | 2011-12-29 | 1 | -5/+3 |
| | |||||
* | handle nuls more carefully in re2c rules | Evan Martin | 2011-12-29 | 1 | -1/+5 |
| | | | | | | | | | | - '.' in re2c matches anything except \n, which means it matches \000. Be more careful about which characters we match. - The fallback rule [^] reads ahead another character, which means it can read past the trailing \000. Add a separate rule to match it specifically. This was found by Valgrind. | ||||
* | de-escape backslashes in depfiles while parsing | Evan Martin | 2011-12-28 | 1 | -34/+62 |
| | |||||
* | switch DepfileParser to take a string* to make memory clearer | Evan Martin | 2011-12-27 | 1 | -6/+5 |
| | | | | Add some comments as well. | ||||
* | fix depfile regex to not match empty strings | Evan Martin | 2011-12-27 | 1 | -1/+1 |
| | | | | From a patch from Allan Odgaard <github@simplit.com>. | ||||
* | Matching the depfile_parser.in.cc file to properly generate the ↵ | Jonathan Sternberg | 2011-12-23 | 1 | -1/+1 |
| | | | | depfile_parser.cc file that's in version control. | ||||
* | handle backslashes and isolated colons in depfile parser | Evan Martin | 2011-12-19 | 1 | -4/+11 |
| | | | | | | | | The logic was wrong if the input looked like foo : bar baz with a space before the colon. Test from Frances <frances.buontempo@gmail.com>. | ||||
* | remove makefile parsing code, use depfile code instead | Evan Martin | 2011-12-07 | 1 | -0/+12 |
| | |||||
* | use re2c to parse depfiles | Evan Martin | 2011-12-07 | 1 | -0/+55 |