[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Fri, 1 Aug 2014 10:15:59 +0000 (12:15 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 1 Aug 2014 10:15:59 +0000 (12:15 +0200)
commit8894aa20ff573ed8cc3d317199fbcbfbcd03c159
tree2ad58359fd383b19cc1da5d950b502f3eb5a1b82
parent7b4ebba52333641f9f09c8079e1d73e9f638083f
[multiple changes]

2014-08-01  Ed Schonberg  <schonberg@adacore.com>

* sem_ch13.adb (Analyze_Aspect_Specifications, case Aspect_Import):
Set Is_Imported flag at once, to simplify subsequent legality
checks. Reject the aspect on an object whose declaration has an
explicit initial value.
* sem_prag.adb (Process_Import_Or_Interface): Use original node
to check legality of an initial value for an imported entity.
Set Is_Imported flag in case of error to prevent cascaded errors.
Do not set the Is_Imported flag if the pragma comes from an
aspect, because it is already done when analyzing the aspect.

2014-08-01  Emmanuel Briot  <briot@adacore.com>

* g-regpat.adb (Parse): Add support for non-capturing parenthesis.

From-SVN: r213447
gcc/ada/ChangeLog
gcc/ada/s-regpat.adb
gcc/ada/s-regpat.ads
gcc/ada/sem_ch13.adb
gcc/ada/sem_prag.adb