From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fd63afa4dc364b7e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-27 09:46:19 PST Path: supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!news.tele.dk!193.251.151.101!opentransit.net!wanadoo.fr!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: Implementing C/C++ style #include... Date: 27 Mar 2001 19:41:52 +0200 Organization: Home - http://perso.wanadoo.fr/pascal.obry Message-ID: References: <98m938$2iod0$1@ID-25716.news.dfncis.de> <99alrr$itf$1@nh.pace.co.uk> <99d5dj$fi4$1@nh.pace.co.uk> <99nkte$157$1@nh.pace.co.uk> NNTP-Posting-Host: mix-velizy-106-3-42.abo.wanadoo.fr X-Trace: wanadoo.fr 985714929 15380 193.249.122.42 (27 Mar 2001 17:42:09 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 27 Mar 2001 17:42:09 GMT X-Newsreader: Gnus v5.7/Emacs 20.7 Xref: supernews.google.com comp.lang.ada:6127 Date: 2001-03-27T17:42:09+00:00 List-Id: Robert A Duff writes: > Your "script" is, in fact, a macro preprocessor. No. It is just text replacement too me. A macro preprocessor has marco in it. You can do many things like convoluted #if, #define (with many levels). Basicly what I does is a script for each configuration (for example Linux, Windows...) and each script is a simple suite of sed commands. Nothing fancy :) We are talking about different Export/Import directives here. For more complex stuff I just duplicate the spec. > Are macros more or less evil than #if things? No macro as I said. Pascal.