mirror of
https://github.com/cmur2/joe-syntax.git
synced 2024-12-22 02:54:23 +01:00
Improved java highlighter by additional keywords
This commit is contained in:
parent
d3e22cfc31
commit
fa61d19d1c
14
java.jsf
14
java.jsf
@ -184,6 +184,7 @@
|
||||
:ident Idle
|
||||
* ident_end noeat markend strings
|
||||
"abstract" kw
|
||||
"assert" kw
|
||||
"boolean" type
|
||||
"break" kw
|
||||
"byte" type
|
||||
@ -191,18 +192,20 @@
|
||||
"catch" kw
|
||||
"char" type
|
||||
"class" kw
|
||||
"const" kw
|
||||
"const" bad_kw
|
||||
"continue" kw
|
||||
"default" kw
|
||||
"do" kw
|
||||
"double" type
|
||||
"else" kw
|
||||
"enum" kw
|
||||
"extends" kw
|
||||
"false" lit
|
||||
"final" kw
|
||||
"finally" kw
|
||||
"float" type
|
||||
"for" kw
|
||||
"goto" kw
|
||||
"goto" bad_kw
|
||||
"if" kw
|
||||
"implements" kw
|
||||
"import" kw
|
||||
@ -220,6 +223,7 @@
|
||||
"return" kw
|
||||
"short" type
|
||||
"static" kw
|
||||
"strictfp" kw
|
||||
"super" kw
|
||||
"switch" kw
|
||||
"synchronized" kw
|
||||
@ -227,12 +231,11 @@
|
||||
"throw" kw
|
||||
"throws" kw
|
||||
"transient" kw
|
||||
"true" lit
|
||||
"try" kw
|
||||
"void" kw
|
||||
"volatile" kw
|
||||
"while" kw
|
||||
"true" lit
|
||||
"false" lit
|
||||
done
|
||||
"a-zA-Z0-9_" ident
|
||||
|
||||
@ -242,6 +245,9 @@ done
|
||||
:kw Keyword
|
||||
* idle noeat
|
||||
|
||||
:bad_kw Bad
|
||||
* idle noeat
|
||||
|
||||
:lit Constant
|
||||
* idle noeat
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user