prj-ext.adb, [...] (Is_External_Assignment): Remove duplicate code.
authorEmmanuel Briot <briot@adacore.com>
Thu, 17 Sep 2009 10:41:33 +0000 (10:41 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 17 Sep 2009 10:41:33 +0000 (12:41 +0200)
commitd9b4a5d344983386125cd8c99ced8b2b6abd1a88
treeedb6e206516e44901f0bae1ade70385d55a92f3a
parentdaa72421353681f192c42be645ba2590f65c868e
prj-ext.adb, [...] (Is_External_Assignment): Remove duplicate code.

2009-09-17  Emmanuel Briot  <briot@adacore.com>

* prj-ext.adb, prj-ext.ads, makeutl.adb (Is_External_Assignment):
Remove duplicate code.
(Prj.Ext): Fix memory leak
(Check): Now allow the syntax "-Xfoo=" to set an empty value to the
variable. This was previously allowed in the code in
Is_External_Assignment, and some tests rely on it

From-SVN: r151793
gcc/ada/ChangeLog
gcc/ada/makeutl.adb
gcc/ada/prj-ext.adb
gcc/ada/prj-ext.ads