Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!usc!julius.cs.uiuc.edu!psuvax1!hsdndev!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: Is #define THING -10 completely safe? Message-ID: <15005@smoke.brl.mil> Date: 28 Jan 91 20:51:44 GMT References: <1991Jan27.233142.28302@watdragon.waterloo.edu> <14999@smoke.brl.mil> <745@caslon.cs.arizona.edu> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 9 In article <745@caslon.cs.arizona.edu> dave@cs.arizona.edu (Dave P. Schaumann) writes: >If Colin's interpretation is wrong, what *is* happening? What I assumed Colin was blaming the difference on was the rewrite rule, which is not the source of the difference. -10[p] and (-10)[p] are not the same due to [] having higher precedence than -. Colin's is another (this time strictly conforming) example illustrating that the parentheses in the macro definition DO matter. If that's what he intended to say, I apologize for misunderstanding.