Commit 75d937d
highlighting: Handle generic operators after refactor (#26)
Pass syntax nodes to JuliaSyntax precedence predicates so generic K"Operator" tokens retain their SyntaxHead flags while highlighting parse-error subtrees.
Also include all multi-character lexer operators that no longer have dedicated kinds in the operator-name fallback used for identifier-like operator leaves.
Fixes JuliaLang/julia#62103
Co-authored-by: Keno Fischer <Keno@users.noreply.github.com>
Co-authored-by: OpenAI Codex <codex@openai.com>1 parent 52924c1 commit 75d937d
2 files changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
333 | 334 | | |
334 | 335 | | |
335 | 336 | | |
336 | | - | |
| 337 | + | |
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
30 | 40 | | |
31 | 41 | | |
32 | 42 | | |
| |||
0 commit comments