math: Complain about unknown *function*, not *variable*

We removed variables from tinyexpr, so we shouldn't use that error.
This commit is contained in:
Fabian Homborg
2020-01-30 21:46:22 +01:00
parent 8a033b9f3d
commit 921fce3a51
4 changed files with 8 additions and 8 deletions

View File

@@ -127,7 +127,7 @@ math 0x2 # Hex
math 5 x 4
math 2x 4
math 2 x4 # ERROR
# CHECKERR: math: Error: Unknown variable
# CHECKERR: math: Error: Unknown function
# CHECKERR: '2 x4'
# CHECKERR: ^
math 0x 3