comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.tsoh.plus-bug.bauhaus@maps.futureapps.de>
Subject: Re: Using "/" As Dot Replacement with GNAT
Date: Mon, 29 Dec 2008 13:00:48 +0100
Date: 2008-12-29T13:00:51+01:00	[thread overview]
Message-ID: <4958bbf3$0$31334$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <7o9ajg.3a7.ln@hunter.axlog.fr>

Jean-Pierre Rosen wrote:
> Michael Rohan a �crit :
>> Hi Folks,
>>
>> Has anyone had any success using "/" as the dot replacement for file
>> names with GNAT, i.e., the spec file for the package A.B.C would be a/
>> b/c.ads?  This would give a structure similar to the Java source
>> structure.
>>
> I doubt it would work, since neither DOS/Windows nor Unix allows "/" in
> file names. Under Unix, "/" is the *only* character not allowed in file
> names!

IIUC, the OP would like the unit A.B.C to live in file
C.ads in directory B which lives in directory A.

I would guess that since there is already support for -I
in GNAT, using directory nesting as a match for child
package placement could be added.



  reply	other threads:[~2008-12-29 12:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-27 23:24 Using "/" As Dot Replacement with GNAT Michael Rohan
2008-12-29 10:45 ` Jean-Pierre Rosen
2008-12-29 12:00   ` Georg Bauhaus [this message]
2009-01-01 13:20 ` Ivan Levashew
2009-01-01 15:27 ` Per Sandberg
2009-01-05  7:31 ` Martin Krischik
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox