prj-nmsc.adb (Language_Independent_Check): Do not forbid virtual extension of library...
authorVincent Celier <celier@gnat.com>
Wed, 27 Oct 2004 13:38:58 +0000 (15:38 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 27 Oct 2004 13:38:58 +0000 (15:38 +0200)
commit1ae44ba2e358541d7d22f99c1ae370b78cbb289d
treed0e8b5f12fb45a78319041749a5e90564562fc32
parent813fc7bf1866ee281dfa0be67f08016af9279ffe
prj-nmsc.adb (Language_Independent_Check): Do not forbid virtual extension of library projects.

2004-10-26  Vincent Celier  <celier@gnat.com>

* prj-nmsc.adb (Language_Independent_Check): Do not forbid virtual
extension of library projects.

* prj-part.adb: If env var ADA_PROJECT_PATH is not defined, project
path defaults to ".:<prefix>/lib/gnat".
(Parse): For an extending all project, allow direct import of a project
that is virtually extended.

* prj-proc.adb (Imported_Or_Extended_Project_From): If a project with
the specified name is directly imported, return its ID. Otherwise, if
an extension of this project is imported, return the ID of the
extension.

From-SVN: r89662
gcc/ada/prj-nmsc.adb
gcc/ada/prj-part.adb
gcc/ada/prj-proc.adb