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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e9f0eae6d714d11c X-Google-Attributes: gid103376,public From: dewarr@my-dejanews.com Subject: Re: Gnat pretty printing Date: 1998/12/11 Message-ID: <74q8jq$oto$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 421068180 References: <74lt16$9r0@romeo.logica.co.uk> <366E86FF.64933A71@lmco.com> <74oa8h$2dj$1@nnrp1.dejanews.com> X-Http-Proxy: 1.0 x6.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri Dec 11 04:55:22 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1998-12-11T00:00:00+00:00 List-Id: In article <74oa8h$2dj$1@nnrp1.dejanews.com>, okellogg@my-dejanews.com wrote: > In article <366E86FF.64933A71@lmco.com>, > Steve O'Neill wrote: > > > > Well GNAT the compiler doesn't do this (nor would I expect it to). > > This is one GNAT feature I had been toying around implementing > but haven't got around to doing. It's certainly not difficult to do this. > In previous versions of GNAT there was some option that > reproduced the source from the internal syntax tree. The only thing > to do would have been, adjust identifier capitalization and preserve > comments. > > -- Oliver > > -----------== Posted via Deja News, The Discussion Network ==---------- > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own > This is not quite so simple, this approach would lose the comments. There is no simple way to avoid this. I think it would be better to use a separate tool, e.g. build on emacs. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own