ligasgr / intellij-xquery

Plugin to support XQuery in Intellij Idea
Apache License 2.0
35 stars 23 forks source link

'catch' is not highlighted as a keyword in ML8 XQuery #178

Closed rhdunn closed 8 years ago

rhdunn commented 8 years ago

Given:

try {
    ()
} catch ($ex) {
    ()
}

the catch statement is highlighted as an identifier, not as a keyword.

ligasgr commented 8 years ago

Just to add more context: it only happens when typing in everything by hand. When pasted or re-opened - works fine. Related to YYINITIAL state and re-lexing/re-parsing.