1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-11-01 00:56:15 +01:00

Improved java highlighter by additional keywords

This commit is contained in:
Christian Nicolai 2011-08-05 23:32:46 +02:00
parent d3e22cfc31
commit fa61d19d1c

View File

@ -184,6 +184,7 @@
:ident Idle :ident Idle
* ident_end noeat markend strings * ident_end noeat markend strings
"abstract" kw "abstract" kw
"assert" kw
"boolean" type "boolean" type
"break" kw "break" kw
"byte" type "byte" type
@ -191,18 +192,20 @@
"catch" kw "catch" kw
"char" type "char" type
"class" kw "class" kw
"const" kw "const" bad_kw
"continue" kw "continue" kw
"default" kw "default" kw
"do" kw "do" kw
"double" type "double" type
"else" kw "else" kw
"enum" kw
"extends" kw "extends" kw
"false" lit
"final" kw "final" kw
"finally" kw "finally" kw
"float" type "float" type
"for" kw "for" kw
"goto" kw "goto" bad_kw
"if" kw "if" kw
"implements" kw "implements" kw
"import" kw "import" kw
@ -220,6 +223,7 @@
"return" kw "return" kw
"short" type "short" type
"static" kw "static" kw
"strictfp" kw
"super" kw "super" kw
"switch" kw "switch" kw
"synchronized" kw "synchronized" kw
@ -227,12 +231,11 @@
"throw" kw "throw" kw
"throws" kw "throws" kw
"transient" kw "transient" kw
"true" lit
"try" kw "try" kw
"void" kw "void" kw
"volatile" kw "volatile" kw
"while" kw "while" kw
"true" lit
"false" lit
done done
"a-zA-Z0-9_" ident "a-zA-Z0-9_" ident
@ -242,6 +245,9 @@ done
:kw Keyword :kw Keyword
* idle noeat * idle noeat
:bad_kw Bad
* idle noeat
:lit Constant :lit Constant
* idle noeat * idle noeat