Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!agate!pasteur!ames!hao!gatech!udel!rochester!PT.CS.CMU.EDU!IUS1.CS.CMU.EDU!edw From: edw@IUS1.CS.CMU.EDU (Eddie Wyatt) Newsgroups: comp.lang.c Subject: Re: macros with parameters in MSC 5.0 Message-ID: <898@PT.CS.CMU.EDU> Date: 18 Feb 88 22:48:17 GMT References: <11879@brl-adm.ARPA> <2631@haddock.ISC.COM> Sender: netnews@PT.CS.CMU.EDU Organization: Carnegie-Mellon University, CS/RI Lines: 15 > > #define ctl(c) ('c'&037) > >... is not allowed in MSC5.0 > > Nor in ANSI C. Does this imply that a macro parameter will nolonger be expanded in strings too? #define DEBUG_CALL(xxx) if ((xxx) != OK) { \ (void) printf("xxx\n"); \ (void) printf("%s %d\n\n",__FILE__,__LINE__);\ clearline(); } -- Eddie Wyatt e-mail: edw@ius1.cs.cmu.edu