[commit] Deprecate remaining STREQ uses

Andrew Cagney cagney@gnu.org
Sun Dec 7 15:54:00 GMT 2003


>> 	#define A(B,C) ((B) + (C))
>> 	A(b,c)
>> 
>> into
>> 
>> 	( ( b ) + ( c ) )
> 
> 
> Ah, in that case indenting will not help.  But something like
> replacing all occurences of "( " with "(" and " )" with ")" should do
> most of the work, I think.  Press `!', the exclam mark, when Emacs
> asks for confirmation of the first replacement, and it will do the
> rest of the replacements automatically without asking.

Or I can just run the code through gdb_indent.sh :-)  Since the result 
of the substitution also exceeds 80 columns, I figure using gdb_indent 
is easier :-)

Andrew

PS: One of your mailboxes is full.




More information about the Gdb-patches mailing list