If token_get_all() is used, we still need to correctly distinguish LNUMBER vs DNUMBER here for backwards compatibility.