mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PyCharm didn't start in Turkey (PY-6212)
This commit is contained in:
@@ -25,6 +25,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
import org.kohsuke.rngom.parse.compact.CompactSyntaxConstants;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.util.Locale;
|
||||
|
||||
/**
|
||||
* Created by IntelliJ IDEA.
|
||||
@@ -52,7 +53,7 @@ public class RncTokenTypes {
|
||||
for (int i = 0; i < tokens.length; i++) {
|
||||
String token = tokens[i];
|
||||
if (token.matches("\"\\w*\"")) {
|
||||
token = "KEYWORD_" + token.substring(1, token.length() - 1).toUpperCase();
|
||||
token = "KEYWORD_" + token.substring(1, token.length() - 1).toUpperCase(Locale.US);
|
||||
} else if (token.matches("\".*\"")) {
|
||||
token = token.substring(1, token.length() - 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user