Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!hsdndev!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: Macro expansions by 2 different C preprocessors Message-ID: <15778@smoke.brl.mil> Date: 10 Apr 91 04:29:33 GMT References: Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 12 In article tej@amdahl.uts.amdahl.com (Tejkumar Arora) writes: >compiler A: fails to compile. gets stuck at the field major in struct foo. > thinks it is a macro and complains of missing argument. That is the behavior of a Reiser CPP, one of many bugs it has. >compiler B: compiles successfully. determines from context & usage that the > field major is not a macro.... That is what a standard conforming compiler must do (the only relevant context is whether or not the next preprocessing token after the identifier is a left parenthesis).