summaryrefslogtreecommitdiffstats
path: root/src/eval_env.cc
Commit message (Collapse)AuthorAgeFilesLines
* rearrange handling of builtin bindings to make rules simplerEvan Martin2012-12-291-0/+16
| | | | | Now, a 'build' block can override any special binding like 'command' or 'description' if it needs to.
* Revert "Make StringPiece data members private."Nico Weber2012-07-281-1/+1
| | | | | | This reverts commit 904c9610fe66c4f4bd63a07d6f057c8603d24394. The commit caused issue #380, this revert fixes it. The revert also makes the test from the previous commit pass.
* Make StringPiece data members private.Thiago Farina2012-06-301-1/+1
| | | | Signed-off-by: Thiago Farina <tfarina@chromium.org>
* make evalstring internals privateEvan Martin2011-12-301-3/+6
|
* switch the core ninja parser to use re2c for the lexerEvan Martin2011-12-291-58/+22
| | | | | | | | | - 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.
* Allow '$ ' to escape spaces in identifiers.Jeremy Apthorp2011-11-211-0/+3
|
* expand $$ as $Evan Martin2011-05-271-0/+3
|
* include location of error in parse error messages in EvalEnv stringsAlexei Svitkine2011-04-261-1/+5
| | | | | E.g. when parsing "foo = ${bar", point at the correct location of the missing curly brace.
* handle variable expansion with upper-case charactersOrestis Agathokleous2011-03-071-1/+3
|
* add copyrightsEvan Martin2011-02-061-0/+14
|
* split some of jumble outEvan Martin2011-01-191-0/+71