* atree.adb: Set Error_Posted in Error node, helps error recovery.
authorbosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Oct 2001 16:15:06 +0000 (16:15 +0000)
committerbosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Oct 2001 16:15:06 +0000 (16:15 +0000)
commit37d8f03021b8db774195e4e576067f249bbd651d
tree4fa6043235cf58bee6726c72dce924b1b6e8327f
parent33c2b4c3848e3d337e01842de1b584a277c9787f
* atree.adb: Set Error_Posted in Error node, helps error recovery.

* par-endh.adb (Output_End_Expected): We should also not test
Error_Posted on the Error node, since now it is always set.

* cstand.adb (Create_Standard): Set Etype of Error to Any_Type
to help error recovery. Part of general work on 9407-004.

* par.adb: Add ??? for misuse of error

* sem_res.adb:
(Resolve): Defend against Error, fixes 9407-003.
(Resolve_Discrete_Subtype_Indication): Defend against Error.

* sinfo.ads (N_Error): Now has Etype field (which will be set
to Any_Type to help error recovery).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46077 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/atree.adb
gcc/ada/cstand.adb
gcc/ada/par-endh.adb
gcc/ada/par.adb
gcc/ada/sem_res.adb
gcc/ada/sinfo.ads