This matches Go's fmt.Printf instead of ANSI C's dumb rules.
It makes the -S output from C liblink match Go's liblink.
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
112600043
if(fl & FmtApost)
__needsep(&ndig, &grouping);
}
-
- /*
- * Zero values don't get 0x.
- */
- if(f->r == 'x' || f->r == 'X')
- fl &= ~(ulong)FmtSharp;
}
for(w = f->prec; n < w && p > buf+3; n++){
if((fl & FmtApost) && __needsep(&ndig, &grouping)){