Added a reason to lex-error to make it a bit more friendly in the parser.