summaryrefslogtreecommitdiffstats
path: root/src/lexer_test.cc
Commit message (Collapse)AuthorAgeFilesLines
* reject tabs (and CRs) in input files more aggressivelyEvan Martin2012-08-021-0/+10
|
* add colon escapingPeter Kuemmel2012-01-291-2/+2
| | | | | | | | Needed for Windows drive names. For instance configure with gtest: python configure.py --with-gtest=c$:\gtest-1.6.0
* make Lexer::Error not emit trailing newlineEvan Martin2012-01-051-1/+1
| | | | | Now it's consistent with other errors. Fixes part of issue #187.
* allow hyphen in variable namesEvan Martin2011-12-301-1/+3
|
* switch the core ninja parser to use re2c for the lexerEvan Martin2011-12-291-0/+85
- Delete the old "Tokenizer" code. - Write separate tests for the lexer distinct from the parser. - Switch the parser to use the new code. - New lexer error output has file:line numbers so e.g. Emacs can jump your editor to the syntax error. - The EvalEnv ($-interpolation) code is now part of the lexer as well.