[Lldb-commits] [lldb] [llvm][Highlighter/Swift] fix grammar.js warnings (PR #221781)
Yao Qi via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 8 04:04:23 PDT 2026
qiyao wrote:
> Fixes the following warnings during lldb build on FreeBSD (could not observe on macOS):
I can reproduce these warnings on macOS, with `tree-sitter` and `tree-sitter-cli` installed.
```
% ninja tree-sitter-swift
[1/4] Generating src/parser.c
Warning: rule super_expression contains a `seq` rule with a single element. this is unnecessary.
Warning: rule inheritance_modifier contains a `choice` rule with a single element. this is unnecessary.
Warning: rule diagnostic contains a `seq` rule with a single element. this is unnecessary.
Warning: rule diagnostic contains a `seq` rule with a single element. this is unnecessary.
Warning: rule diagnostic contains a `seq` rule with a single element. this is unnecessary.
```
https://github.com/llvm/llvm-project/pull/221781
More information about the lldb-commits
mailing list