fix missing java keywords separators
This commit is contained in:
parent
4f2de650ae
commit
f40f50f5c7
1 changed files with 7 additions and 7 deletions
|
|
@ -12,13 +12,13 @@ var JavaHighlightRules = function() {
|
|||
// taken from http://download.oracle.com/javase/tutorial/java/nutsandbolts/_keywords.html
|
||||
var keywords = lang.arrayToMap(
|
||||
("abstract|continue|for|new|switch|" +
|
||||
"assert|default|goto|package|synchronized" +
|
||||
"boolean|do|if|private|this" +
|
||||
"break|double|implements|protected|throw" +
|
||||
"byte|else|import|public|throws" +
|
||||
"case|enum|instanceof|return|transient" +
|
||||
"catch|extends|int|short|try" +
|
||||
"char|final|interface|static|void" +
|
||||
"assert|default|goto|package|synchronized|" +
|
||||
"boolean|do|if|private|this|" +
|
||||
"break|double|implements|protected|throw|" +
|
||||
"byte|else|import|public|throws|" +
|
||||
"case|enum|instanceof|return|transient|" +
|
||||
"catch|extends|int|short|try|" +
|
||||
"char|final|interface|static|void|" +
|
||||
"class|finally|long|strictfp|volatile|" +
|
||||
"const|float|native|super|while").split("|")
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue