mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-02 07:25:51 +01:00
Treesitter parser (#2902)
A push towards better editor support. See utils/treesitter/README.md --------- Co-authored-by: josh11b <josh11b@users.noreply.github.com>
This commit is contained in:
@@ -147,6 +147,8 @@ def get_rules(bazel: str, targets: str, keep_going: bool) -> Dict[str, Rule]:
|
||||
elif rule_class == "genrule":
|
||||
if list_name == "outs":
|
||||
outs = get_bazel_list(list_child, True)
|
||||
elif rule_class == "tree_sitter_cc_library":
|
||||
continue
|
||||
else:
|
||||
exit(f"unexpected rule type: {rule_class}")
|
||||
rules[rule_name] = Rule(hdrs, srcs, deps, outs)
|
||||
|
||||
Reference in New Issue
Block a user