Commit 03ea9bd
authored
Don’t treat accessing properties within switch statements as calls (JohnSundell#103)
This patch fixes syntax highlighting for when a property is being switched
on, which previously would be treated as a function call with trailing
closure syntax.1 parent 8e96992 commit 03ea9bd
File tree
2 files changed
+24
-1
lines changed- Sources/Splash/Grammar
- Tests/SplashTests/Tests
2 files changed
+24
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
318 | 340 | | |
319 | 341 | | |
320 | 342 | | |
| |||
441 | 463 | | |
442 | 464 | | |
443 | 465 | | |
| 466 | + | |
444 | 467 | | |
445 | 468 | | |
446 | 469 | | |
| |||
0 commit comments