Path: utzoo!mnetor!uunet!husc6!hao!ames!pasteur!ucbvax!hplabs!hpcea!hpfcdc!hpfclq!cunniff From: cunniff@hpfclq.HP.COM (Ross Cunniff) Newsgroups: comp.sys.amiga Subject: Lattice 4.0 question Message-ID: <4230012@hpfclq.HP.COM> Date: 22 Jan 88 18:24:20 GMT Organization: Hewlett-Packard Lines: 24 Does Lattice C 4.0 fix the $#@(%&^*&^ misfeature common to all other Lattices (both MS-DOG and Amiga) whereby the use of a macro may NOT be split over two source lines (even escaping the newline)? e.g. #define MAX(a,b) (((a)>(b))?(a):(b)) main() { ... foo = MAX( Extremely_Long_And_Complicated_Expression_Number_1, Another_Extremely_Long_And_Complicated_Expression ); } lc1 of something like the above would produce the message 'Invalid macro usage'. ***EVERY*** other C compiler preprocessor I've used accepts macros split across lines. ***WHY*** doesn't Lattice? (P.S. no flames about this particular example; it was just an easy one to think of off the top of my head). Ross Cunniff Hewlett-Packard System Software Operation ...{ucbvax,hplabs}!hpda!cunniff cunniff%hpda@hplabs.ARPA