We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2acf035 commit 87de9d5Copy full SHA for 87de9d5
src/main/java/ParserOperations/ExpressionParser.java
@@ -111,6 +111,13 @@ private boolean isSimpleExpression() {
111
} else if (tool.isValueToken(tool.getCurrentToken())) {
112
tool.incrementIndex();
113
result = true;
114
+
115
+ } else if (tool.verifyToken(TokenType.RESTA)) {
116
+ tool.incrementIndex();
117
+ if (tool.verifyToken(TokenType.ENTERO) || tool.verifyToken(TokenType.DECIMAL)) {
118
119
+ result = true;
120
+ }
121
} else {
122
tool.showError("Se esperaba un valor");
123
}
target/classes/ParserOperations/ExpressionParser.class
129 Bytes
0 commit comments