Re: [commit] Deprecate remaining STREQ uses

David Carlton
2003-11-24T20:06:25Z

On Mon, 24 Nov 2003 21:23:34 +0200, "Eli Zaretskii" <eliz@elta.co.il> said:

> I don't think simply replacing the macros with their expansion could
> introduce bugs. If you don't trust your eyes and hands, perhaps
> Emacs's c-macro-expand command (or some other similar automated
> tool) could help.

Yeah, I was thinking that an automated tool would work well. I was
thinking that just using keyboard macros might do the trick: get to
the start of STREQ, then delete that word, insert "(strcmp", go
forward a regexp, and insert "==0)" should be safe, no? But I didn't
know about c-macro-expand; looks useful.

David Carlton
carlton@kealia.com