• Robert Griesemer's avatar
    text/scanner: remove AllowDigitSeparator flag again · b97ec8e5
    Robert Griesemer authored
    The scanner was changed to accept the new Go number literal syntax
    of which separators are a part. Making them opt-in is inconsistent
    with the rest of the changes. For comparison, the strconv package
    also accepts the new number literals including separators with the
    various conversion routines, if no explicit number base is given.
    
    Updates #28493.
    
    Change-Id: Ifaae2225a9565364610813658bfe692901dd3ccd
    Reviewed-on: https://go-review.googlesource.com/c/go/+/184080
    Run-TryBot: Robert Griesemer <gri@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    b97ec8e5
Name
Last commit
Last update
..
scanner Loading commit data...
tabwriter Loading commit data...
template Loading commit data...