[math] Better error for 2 -

Instead of the catch-all, report too few arguments.
This commit is contained in:
Fabian Homborg
2018-02-26 13:46:01 +01:00
parent 20af969aba
commit 6a38eb4f7d
2 changed files with 12 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
####################
# Validate math error reporting
math: Error: Expression is bogus
math: Error: Too few arguments
'2 - '
^
math: Error: Too few arguments