sem_prag.adb (Check_Precondition_Postcondition): When scanning the list of declaratio...
authorEd Schonberg <schonberg@adacore.com>
Mon, 4 Aug 2008 08:38:06 +0000 (10:38 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 4 Aug 2008 08:38:06 +0000 (10:38 +0200)
commit75bee2700904533693299a7872018705d76671b6
tree307e55c4a678f14ac4990585ef2fd125ffa4657c
parent570d3cfb8da442f2dd838e33e8ad3df519712fc5
sem_prag.adb (Check_Precondition_Postcondition): When scanning the list of declaration to find previous subprogram...

2008-08-04  Ed Schonberg  <schonberg@adacore.com>

* sem_prag.adb (Check_Precondition_Postcondition): When scanning the
list of declaration to find previous subprogram, do not go to the
original node of a generic unit.

From-SVN: r138579
gcc/ada/sem_prag.adb