ANSI -> K&R translator

Thomas Tornblom thomas at uplog.se
Wed Aug 29 16:39:04 AEST 1990


In article <FRI5NYC at xds13.ferranti.com> peter at ficc.ferranti.com (Peter da Silva) writes:

   The one problem with M4 is that it's got this annoying tendency to do
   replacements that aren't intended (what happens if you have a variable
   called "dnl"?). When I did a version of MACRO (m4 in Ratfor) for RSX, I
   made all the builtind start with "$".
   -- 
   Peter da Silva.   `-_-'
   +1 713 274 5180.   'U`
   peter at ferranti.com

If you're using system V m4 you can always redefine the m4 builtins to
something harmless:

define(`_m4_dnl', defn(`dnl'))dnl
undefine(`dnl')_m4_dnl
-- 
Real life:	Thomas Tornblom		Email:	thomas at uplog.se
Snail mail:	TeleLOGIC Uppsala AB		Phone:	+46 18 189406
		Box 1218			Fax:	+46 18 132039
		S - 751 42 Uppsala, Sweden



More information about the Comp.lang.c mailing list