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

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

View File

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