Исправлено получение значений переменных в конфиге

This commit is contained in:
Victor 2015-06-17 01:51:26 +03:00
parent f0e0ffe518
commit 93b1328e43

View File

@ -102,8 +102,11 @@ public final class ConfigParser {
return current.getText();
}
if (match(TokenType.WORD)) {
if (isValueExists(current.getText())) {
return getValue(current.getText());
}
return current.getText();
}
if (match(TokenType.LPAREN)) {
String expr = expression();
match(TokenType.RPAREN);