improved parser error reporting a little