platform_build_blueprint/parser
Logan Chien 3deba3df45 Emit errors on mixed property syntax
This commit refines `compat` condition in `parseProperty()` so that a
module definition would either use the new syntax or the old syntax,
but not something in the between, such as

    cc_library {
        name: "bad_example",
        srcs= ["bad.c"],
    }

Test: lunch aosp_arm64-userdebug; make  # runs unit test
Change-Id: If2d3e5d55edccc28d314d99b83b0f54e5c53ac35
2018-06-26 12:20:08 +08:00
..
ast.go Make End() return the position after the node 2018-04-10 16:43:51 -07:00
modify.go Add Patch and PatchList for making textual changes 2018-04-10 16:50:39 -07:00
modify_test.go Add Patch and PatchList for making textual changes 2018-04-10 16:50:39 -07:00
parser.go Emit errors on mixed property syntax 2018-06-26 12:20:08 +08:00
parser_test.go Make End() return the position after the node 2018-04-10 16:43:51 -07:00
printer.go Improve indentation for multi-line expressions 2018-05-07 16:15:33 -07:00
printer_test.go Emit errors on mixed property syntax 2018-06-26 12:20:08 +08:00
sort.go Add CommentGroups 2016-06-14 15:26:49 -07:00