diff options
author | Thomas Quinot <quinot@adacore.com> | 2005-06-16 10:37:02 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-06-16 10:37:02 +0200 |
commit | dbf663a91f6415e6f8f8d37943f0cbef92fa4b71 (patch) | |
tree | 788e12a22da4f6980f015e399cc00998df210bbe /gcc | |
parent | 643a083902f22090fcaf22863558c79850a1d053 (diff) | |
download | gcc-dbf663a91f6415e6f8f8d37943f0cbef92fa4b71.zip gcc-dbf663a91f6415e6f8f8d37943f0cbef92fa4b71.tar.gz gcc-dbf663a91f6415e6f8f8d37943f0cbef92fa4b71.tar.bz2 |
exp_ch2.adb (Param_Entity): Take the case of an expanded_name denoting a formal parameter into account.
2005-06-14 Thomas Quinot <quinot@adacore.com>
* exp_ch2.adb (Param_Entity): Take the case of an expanded_name
denoting a formal parameter into account.
From-SVN: r101032
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/exp_ch2.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/exp_ch2.adb b/gcc/ada/exp_ch2.adb index bb85541..8327aaf 100644 --- a/gcc/ada/exp_ch2.adb +++ b/gcc/ada/exp_ch2.adb @@ -713,7 +713,7 @@ package body Exp_Ch2 is begin -- Simple reference case - if Nkind (N) = N_Identifier then + if Nkind (N) = N_Identifier or else Nkind (N) = N_Expanded_Name then if Is_Formal (Entity (N)) then return Entity (N); |