vscode-codeql/extensions/ql-vscode/syntaxes
Dave Bartolomeo 959552544a Fix highlighting after disembodied IPA branch
Fixes #543
```ql
newtype TA = TB()

private predicate foo() { any() }
```
Our TextMate grammar didn't realize that the newtype declaration ended after the closing paren of the branch's parameter list, so the `private` modifier was highlighted incorrectly.

It's surprisingly tricky to get TextMate to handle this correctly, so I wound up just treating the IPA declaration head (`newtype TA`), the branch head (`= TB`), the branch parameter list, and the branch body as directly children of the module body. This is kind of hacky, but it does fix the bug without introducing any new cases where we have incorrect highlighting of valid code.
2020-09-01 22:31:16 -07:00
..
dbscheme.tmLanguage.yml CodeQL for VS Code: Initial commit. 2019-11-13 12:23:53 -08:00
ql.tmLanguage.yml Fix highlighting after disembodied IPA branch 2020-09-01 22:31:16 -07:00