Add goto to reserved words for java.

This commit is contained in:
Josh Chase 2015-05-12 11:52:23 -07:00
parent 0fc72a0106
commit 108f0557fa
2 changed files with 2 additions and 1 deletions

View File

@ -71,3 +71,4 @@ YYYY/MM/DD, github id, Full name, email
2015/04/29, jszheng, Jinshan Zheng, zheng_js@hotmail.com
2015/05/08, ViceIce, Michael Kriese, michael.kriese@gmx.de
2015/05/09, lkraz, Luke Krasnoff, luke.krasnoff@gmail.com
2015/05/12, Pursuit92, Josh Chase, jcjoshuachase@gmail.com

View File

@ -50,7 +50,7 @@ public class JavaTarget extends Target {
protected static final String[] javaKeywords = {
"abstract", "assert", "boolean", "break", "byte", "case", "catch",
"char", "class", "const", "continue", "default", "do", "double", "else",
"enum", "extends", "false", "final", "finally", "float", "for",
"enum", "extends", "false", "final", "finally", "float", "for", "goto",
"if", "implements", "import", "instanceof", "int", "interface",
"long", "native", "new", "null", "package", "private", "protected",
"public", "return", "short", "static", "strictfp", "super", "switch",