• Roger Peppe's avatar
    fmt: allow recursive calls to Fscan etc. · 81bfbe93
    Roger Peppe authored
    Add a new Read method to ScanState so that it
    satisfies the io.Reader interface; rename
    Getrune and Ungetrune to ReadRune and UnreadRune.
    Make sure ReadRune does not read past width restrictions;
    remove now-unnecessary Width method from ScanState.
    Also make the documentation a little clearer as to
    how ReadRune and UnreadRune are used.
    
    R=r, r2
    CC=golang-dev
    https://golang.org/cl/4240056
    81bfbe93
Name
Last commit
Last update
..
Makefile Loading commit data...
doc.go Loading commit data...
fmt_test.go Loading commit data...
format.go Loading commit data...
print.go Loading commit data...
scan.go Loading commit data...
scan_test.go Loading commit data...
stringer_test.go Loading commit data...