From 4d18d279ad449d2e748d88e31beeaa85f1e42a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gassmann?= Date: Sat, 12 Jun 2021 18:03:33 +0200 Subject: [~] Bug fix --- calculator-java/src/main/java/ch/bfh/parser/TermParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calculator-java/src/main/java/ch/bfh/parser/TermParser.java') diff --git a/calculator-java/src/main/java/ch/bfh/parser/TermParser.java b/calculator-java/src/main/java/ch/bfh/parser/TermParser.java index 9e49fa8..5ead591 100644 --- a/calculator-java/src/main/java/ch/bfh/parser/TermParser.java +++ b/calculator-java/src/main/java/ch/bfh/parser/TermParser.java @@ -69,7 +69,7 @@ class TermParser extends ExpressionParser { token = cl.nextToken(); } if (op != null && r == null) - throw new ParserException("Missing expression after last operation '" + op.str + "'"); + throw new ParserException("Missing expression after last operator '" + op.str + "'"); } @Override -- cgit v1.2.3