updated cup lex number issue + syntaxerror
using new syntax error class