highlights(ecma): distinguish between "default" in export and switch statements

This commit is contained in:
Trard 2022-11-06 18:36:33 +03:00 committed by Stephan Seitz
parent 37767540e5
commit cc2268e1c7

View file

@ -207,7 +207,6 @@
"else" "else"
"switch" "switch"
"case" "case"
"default"
] @conditional ] @conditional
[ [
@ -266,3 +265,8 @@
"catch" "catch"
"finally" "finally"
] @exception ] @exception
(export_statement
"default" @keyword)
(switch_default
"default" @conditional)