Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!decwrl!bacchus.pa.dec.com!decvax.dec.com!ima!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: Using Macros Message-ID: <17375@haddock.ima.isc.com> Date: 13 Aug 90 02:35:00 GMT References: <14339@shlump.nac.dec.com> <3526@goanna.cs.rmit.oz.au> <1316@rlgvax.UUCP> Reply-To: karl@kelp.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Cambridge, MA 02138-5302 Lines: 7 In article <1316@rlgvax.UUCP> scc@rlgvax.OPCR.ICL.COM (Stephen Carlson) writes: >Although this works (a #define with 0 arguments) with every preprocessor I've >ever used, is there any official sanction for this construct? Certainly; `getchar()' is the classic example. ANSI explicitly allows it too. Karl W. Z. Heuer (karl@kelp.ima.isc.com or ima!kelp!karl), The Walking Lint