spaces before tabs
Bruce Evans
bde at zeta.org.au
Mon Mar 15 11:57:59 PST 2004
On Mon, 15 Mar 2004, Dag-Erling [iso-8859-1] Sm=F8rgrav wrote:
> Thomas Dickey <dickey at radix.net> writes:
> > #define longstring "This is a string \
> > =09that does not really have \"leading blanks\", per \
> > =09se, but some scripts may have other opinions"
Would you object to changing the formatting bugs in the string literal
(embedded tabs)? :-) Misformatting of user-visible message is a larger
bug than misformatting of source code.
> this is one of the reasons why our style guidelines prohibit multiline
> string literals.
Actuallly, there is no such prohibition, and multiline string literals
are normal style -- they are used in every CSRG copryright message in
the src tree. There is only a C language prohibition on hard newlines
in string literals (*). The above is not an example of this.
(*) Hard newlines in string literals used to be a gcc feature, but gcc-3
dropped it, apparently without providing a flag to give backwards
compatible behaviour.
Bruce
More information about the freebsd-current
mailing list