blitz-foundation / monkey2

zlib License
3 stars 0 forks source link

Improve error message - missmatch of parenthesis #5

Open Pharmhaus-2 opened 5 years ago

Pharmhaus-2 commented 5 years ago

Original Author: Trillobit

This: Local x2:float = x - (Sin(direction + 2.4434) )* 8)

Shows: : Error : Expecting end of line

Expected: : Error : Line had Parenthesis missmatch. You open 2 x '(' but close 3 x ')'.

Note: Mark let me know if this is the preferred way to report. Also do you want usability things like these? or bugs only?