Rewording since all extra semicolons are now stripped in tokenization stage. Fixes #771
This commit is contained in:
1 parent
00f932bafc
commit
dafebffb5a
1 file changed
+1
-1
@@ -765,7 +765,7 @@ public class Expression
|
||||
{
|
||||
if (token.surface.equals(";"))
|
||||
{
|
||||
throw new ExpressionException(c, this, token, "Unnecessary semicolon");
|
||||
throw new ExpressionException(c, this, token, "Empty expression found with ';'");
|
||||
}
|
||||
throw new ExpressionException(c, this, token, "Missing parameter(s) for operator " + token);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user