1
0
mirror of https://github.com/golang/go synced 2024-10-04 14:41:25 -06:00
go/src/pkg/fmt
Michael T. Jones d94e350f48 fmt: Added SkipSpace() function to fmt's ScanState interface.
Users of the Scan() infrastructure that employ ReadRune() rather than
Token() need a way to skip leading spaces and newlines as set by the
the parent, Fscan(), Fscanln, or Fscanf(). As the internal methods and
boolean flags are not exported, this new function was added here and
in the Int and Nat Scan() functions of the big package. (fmt.Rat did
not need change since it uses Token()) Also added Printf style format
code support to int types and tests for same to int_test.go

R=r, r, gri, mtj
CC=golang-dev
https://golang.org/cl/4634074
2011-06-24 17:26:45 -07:00
..
doc.go fmt: debugging formats for characters: %+q %#U 2011-06-11 00:03:02 +00:00
fmt_test.go fmt: catch panics from calls to String etc. 2011-06-21 08:31:02 +10:00
format.go fmt: debugging formats for characters: %+q %#U 2011-06-11 00:03:02 +00:00
Makefile build: no required environment variables 2010-08-18 10:08:49 -04:00
print.go os.Error API: don't export os.ErrorString, use os.NewError consistently 2011-06-22 10:52:47 -07:00
scan_test.go os.Error API: don't export os.ErrorString, use os.NewError consistently 2011-06-22 10:52:47 -07:00
scan.go fmt: Added SkipSpace() function to fmt's ScanState interface. 2011-06-24 17:26:45 -07:00
stringer_test.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00