Reuse lexer result after checking for lexing success