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-Thread: a07f3367d7,6458d1ee91b224ec X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.106.161 with SMTP id gv1mr457856wib.4.1360922602959; Fri, 15 Feb 2013 02:03:22 -0800 (PST) Path: g1ni12261wig.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.meeh.mikalv.net!aioe.org!rt.uk.eu.org!weretis.net!feeder1.news.weretis.net!news.szaf.org!news.gnuher.de!news.enyo.de!.POSTED!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: chopping Ada source that have preprocessor symbols in them Date: Fri, 08 Feb 2013 21:27:20 +0100 Message-ID: <87r4kq7dqv.fsf@mid.deneb.enyo.de> References: <5111a9d5$0$6567$9b4e6d93@newsspool3.arcor-online.net> Mime-Version: 1.0 X-Trace: news.enyo.de 1360355240 2509 172.17.135.6 (8 Feb 2013 20:27:20 GMT) X-Complaints-To: news@enyo.de Cancel-Lock: sha1:uT38awrURXNG/STzL9EtX7h/9BY= Content-Type: text/plain; charset=us-ascii Date: 2013-02-08T21:27:20+01:00 List-Id: * Georg Bauhaus: > However, the program is using preprocessor symbols that > I wish to keep. gnatchop can parse source files using > different characters sets, but apparently it cannot parse > files that use preprocessor symbols, including GNAT ones. Given that the choice of preprocessor symbols can change how the file is split up, I think what you want is not solvable in general.