summaryrefslogtreecommitdiffstats
path: root/src/depfile_parser.in.cc
Commit message (Collapse)AuthorAgeFilesLines
* windows: fix size_t<->int conversions in ninja.exeEvan Martin2012-08-101-2/+2
|
* dep file parsing: allow '@' and '=' in pathsMaxim Kalaev2012-07-191-1/+1
|
* allow '(' and ')' in depfile pathsEvan Martin2012-06-121-1/+1
| | | | Fixes issue #327.
* Depfile parser accept tilde.Nicolas Despres2012-03-141-1/+1
|
* Issue #241 - handle depfiles generated by older versions of GCCOleksandr Usov2012-03-121-4/+12
| | | | | | | | | | Older versions of GCC would produce broken depfiles when -MT or -MQ is used gcc43 -MT foo.o -MMD -MF foo.o.d -o foo.o -c foo.c will result in the following depfile foo.o foo.o: <dependencies> Parse multiple outputs unifying duplicates and correctly report errors if they are different.
* minor re2c cleanupsEvan Martin2011-12-291-5/+3
|
* handle nuls more carefully in re2c rulesEvan Martin2011-12-291-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 parsingEvan Martin2011-12-281-34/+62
|
* switch DepfileParser to take a string* to make memory clearerEvan Martin2011-12-271-6/+5
| | | | Add some comments as well.
* fix depfile regex to not match empty stringsEvan Martin2011-12-271-1/+1
| | | | From a patch from Allan Odgaard <github@simplit.com>.
* Matching the depfile_parser.in.cc file to properly generate the ↵Jonathan Sternberg2011-12-231-1/+1
| | | | depfile_parser.cc file that's in version control.
* handle backslashes and isolated colons in depfile parserEvan Martin2011-12-191-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 insteadEvan Martin2011-12-071-0/+12
|
* use re2c to parse depfilesEvan Martin2011-12-071-0/+55