aboutsummaryrefslogtreecommitdiff
path: root/build2/lexer.cxx
AgeCommit message (Collapse)AuthorFilesLines
2016-08-05Enable pair recognition in the normal and eval lexer modesBoris Kolpackov1-7/+15
We need this for the out-qualified target syntax: h{config}@./: install = false
2016-08-05Merge 'value' and 'pairs' lexer_mode, call it 'value'Boris Kolpackov1-8/+7
We only really used pairs.
2016-07-25Only do "effective escaping" (['"\$(]) on the command lineBoris Kolpackov1-15/+19
This will make things more convenient on Windows provided we use "sane" paths (no spaces, no (), etc).
2016-07-20Implement support for <, >, <=, >= in eval contextBoris Kolpackov1-0/+15
Now can write: if ($build.version > 30000)
2016-04-18Add support for using value attributes in eval contextBoris Kolpackov1-0/+2
For example: if ($x == [null]) Or: if ([uint64] 01 == [uint64] 1)
2016-04-05Add support for scope/target-qualified variable expansionBoris Kolpackov1-0/+6
For example: print $(dir/:var) print $(file{target}:var) print $(dir/file{target}:var) Note that if the scope/target does not (yet) exists, it will be created.
2016-04-02Add attribute syntax infrastructureBoris Kolpackov1-11/+20
2016-03-28Enable @-delimited pairs mode everywhereBoris Kolpackov1-1/+1
2016-03-10Allow escaping in double-quote strings, use ['"\] as var name delimitersBoris Kolpackov1-8/+17
2016-01-23Cleanup absolute/relative path diagnostics by introducing stream verbosityBoris Kolpackov1-1/+1
2016-01-21Add support for ==, != in eval contextBoris Kolpackov1-11/+43
2016-01-21Rename equal token to assign, etcBoris Kolpackov1-3/+3
2016-01-09Update copyright yearBoris Kolpackov1-1/+1
2016-01-05Rename build directory/namespace to build2Boris Kolpackov1-0/+431