summaryrefslogtreecommitdiffstats
path: root/src/eval_env.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a missing &. (No behavior change, only used in tests.)Nico Weber2015-03-181-1/+1
|
* Env should only be about variables. No behavior change.Nico Weber2015-03-181-3/+2
|
* Fix build with libc++ after #921.Nico Weber2015-03-091-29/+29
| | | | | | | | | It failed with error: field has incomplete type 'EvalString' note: in instantiation of exception specification for 'map' requested here explicit Rule(const string& name) : name_(name) {} ^
* Allow scoping rules through subninjaMohamed Bamakhrama2015-03-011-0/+28
| | | | | | | | Ninja didn't support scoping rules through subninja and assumed a unique rule name in the whole namespace. With this change, this behavior is changed to allow scoping rules. Two rules can have the same name if they belong to two different scopes. However, two rules can NOT have the same name in the same scope.
* rearrange handling of builtin bindings to make rules simplerEvan Martin2012-12-291-0/+12
| | | | | Now, a 'build' block can override any special binding like 'command' or 'description' if it needs to.
* more privateEvan Martin2011-12-301-0/+2
|
* make evalstring internals privateEvan Martin2011-12-301-2/+4
|
* switch the core ninja parser to use re2c for the lexerEvan Martin2011-12-291-4/+10
| | | | | | | | | - 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.
* Add -Wextra warning flag.Nicolas Despres2011-11-191-1/+1
| | | | | | | Fix triggered warnings: - unused parameter - type qualifiers ignored on function return type - missing initializer for member
* fix warnings on Mac 10.5Arnaud Gelas2011-04-301-0/+2
| | | | structures had virtual functions but not virtual destructors
* add doxygen-compatibile comments to most classesEvan Martin2011-04-291-5/+5
|
* include location of error in parse error messages in EvalEnv stringsAlexei Svitkine2011-04-261-1/+1
| | | | | E.g. when parsing "foo = ${bar", point at the correct location of the missing curly brace.
* add copyrightsEvan Martin2011-02-061-0/+14
|
* split some of jumble outEvan Martin2011-01-191-11/+4
|
* initialize pointerEvan Martin2010-12-201-0/+1
|
* use hash_map for paths; much faster buildsEvan Martin2010-12-171-0/+3
|
* move src into subdirEvan Martin2010-12-051-0/+43