changed last rules to properly find errors. Could be changed to be more efficient or better looking. gotta add lineno and charno still
errors should be caught.
finished rejext.lex and leftcontext.lex