From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT GPL is proving...educational
Date: Mon, 22 Jul 2013 09:52:29 +0100
Date: 2013-07-22T09:52:29+01:00 [thread overview]
Message-ID: <lyfvv7t1rm.fsf@pushface.org> (raw)
In-Reply-To: b544luFcgc4U1@mid.individual.net
Niklas Holsti <niklas.holsti@tidorum.invalid> writes:
> Note that AdaCore provides the "gnatchop" tool to split multi-unit
> source files into single-unit files following the GNAT default naming
> rules. Basically, you say
>
> gnatchop multi-unit-file-name
>
> and the resulting single-unit files appear in the working directory.
Also, gnatchop[1] has the flags
-r generate Source_Reference pragmas referencing original source file
and
-w overwrite existing filenames
which can be used to maintain a multiple-unit source file. I can't see
how to make GPS support this, and I can't find whether AdaGIDE will
because it's Windows-only; for Emacs, I wrote a minor mode[2] which runs
gnatchop -w -r whenever a gnatchop-mode buffer is saved.
[1] http://docs.adacore.com/gnat-unw-docs/html/gnat_ugn_9.html#SEC108
[2] https://sourceforge.net/u/simonjwright/gnatchop/wiki/Home/
next prev parent reply other threads:[~2013-07-22 8:52 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-22 1:28 GNAT GPL is proving...educational Alan Jump
2013-07-22 3:26 ` Jeffrey Carter
2013-07-22 3:50 ` Alan Jump
2013-07-22 5:11 ` Jeffrey Carter
2013-07-22 22:19 ` Shark8
2013-07-22 5:28 ` Bill Findlay
2013-07-22 8:49 ` Georg Bauhaus
2013-07-22 9:04 ` Bill Findlay
2013-08-01 15:07 ` Stephen Leake
2013-08-01 19:28 ` Alan Jump
2013-07-25 5:41 ` Yannick Duchêne (Hibou57)
2013-07-25 20:25 ` J-P. Rosen
2013-07-25 23:07 ` Yannick Duchêne (Hibou57)
2013-07-22 7:18 ` Niklas Holsti
2013-07-22 8:52 ` Simon Wright [this message]
2013-07-31 2:02 ` David Thompson
2013-07-22 18:28 ` Yannick Duchêne (Hibou57)
2013-07-22 19:04 ` Alan Jump
2013-07-22 19:49 ` Ludovic Brenta
2013-07-22 19:51 ` Simon Wright
2013-07-22 20:12 ` Jeffrey Carter
2013-07-22 23:34 ` Adam Beneschan
2013-07-23 3:46 ` Shark8
2013-07-23 17:46 ` Yannick Duchêne (Hibou57)
2013-07-27 3:17 ` Randy Brukardt
2013-07-29 17:21 ` Alan Jump
2013-07-29 20:57 ` Shark8
2013-07-29 21:30 ` Adam Beneschan
2013-07-29 21:44 ` Alan Jump
2013-07-29 22:36 ` Yannick Duchêne (Hibou57)
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox