aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/token.hxx
AgeCommit message (Collapse)AuthorFilesLines
2020-05-18Add dump(ostream,script::lines) (partial implementation)build-scriptKaren Arutyunov1-3/+24
2020-05-17Factor out generic script parsing/executing functionality from ↵Karen Arutyunov1-2/+1
build2::test::script namespace
2020-03-20Lexer support for default value assignment (?=)Boris Kolpackov1-0/+1
Note: not yet supported in the parser.
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-11-14Tighten up attribute recognition during parsingBoris Kolpackov1-2/+7
Now it should be possible to use `[]` for wildcard patterns, for example: foo = foo.[hit]xx Note that a leading bracket expression will still be recognized as attributes and escaping or quoting it will inhibit pattern matching. To resolve this case we need to specify an empty attribute list: foo = [] [abc]-foo.cxx
2019-11-11Use path_name for `-` to stdin/stdout translationKaren Arutyunov1-7/+7
2019-09-30Add support for `case` pattern alternativesBoris Kolpackov1-0/+2
case <pattern>[ | <pattern>...]
2019-07-01Split build system into library and driverBoris Kolpackov1-0/+191