Мелкие изменения
This commit is contained in:
parent
ac4d3f0cfc
commit
d96956d1aa
@ -8,7 +8,7 @@
|
|||||||
# project structure.
|
# project structure.
|
||||||
#
|
#
|
||||||
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
|
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
|
||||||
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
||||||
|
|
||||||
# Project target.
|
# Project target.
|
||||||
target=android-19
|
target=android-19
|
||||||
|
@ -15,9 +15,6 @@ public final class Lexer {
|
|||||||
return new Lexer().process(input).getTokens();
|
return new Lexer().process(input).getTokens();
|
||||||
}
|
}
|
||||||
|
|
||||||
private final List<Token> tokens;
|
|
||||||
private final StringBuilder buffer;
|
|
||||||
|
|
||||||
private static final String OPERATOR_CHARS = "=+-()[]$:";
|
private static final String OPERATOR_CHARS = "=+-()[]$:";
|
||||||
private static final TokenType[] OPERATOR_TYPES = new TokenType[] {
|
private static final TokenType[] OPERATOR_TYPES = new TokenType[] {
|
||||||
TokenType.EQ,
|
TokenType.EQ,
|
||||||
@ -62,6 +59,9 @@ public final class Lexer {
|
|||||||
KEYWORDS.put("night_time", TokenType.NIGHT_TIME);
|
KEYWORDS.put("night_time", TokenType.NIGHT_TIME);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private final List<Token> tokens;
|
||||||
|
private final StringBuilder buffer;
|
||||||
|
|
||||||
private TokenizeState state;
|
private TokenizeState state;
|
||||||
private int pos;
|
private int pos;
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ import android.util.Log;
|
|||||||
*/
|
*/
|
||||||
public final class Logger {
|
public final class Logger {
|
||||||
|
|
||||||
private static final boolean DEBUG = true;
|
private static final boolean DEBUG = false;
|
||||||
private static final String TAG = "rpyplayer";
|
private static final String TAG = "rpyplayer";
|
||||||
|
|
||||||
public static void log(String message) {
|
public static void log(String message) {
|
||||||
|
Loading…
Reference in New Issue
Block a user