Let |Lexer_getNumber| support infinity (issue 5039)