On 22 Jan 2015, at 18:48, Simon Wright <[email protected]> wrote:

> Following my posting on c.l.a., Randy copied to Ada-Comment, and there was 
> agreement from Tucker Taft and Bob Duff that the omission was an oversight.
> 
> The attached patch brings ada-mode up to compatibility with GNAT (note that 
> Randy suggested that null_procedure_declaration was also missing, but GNAT 
> doesn’t allow it, and I don't think it has as much relevance? - but if the 
> ARG agree it’s good and we wanted to allow it, the additional change is 
> obvious).

I asked about null_procedure_declaration, and Randy said

> It makes no sense to treat expression functions and null procedures 
> differently here, especially as a null procedure could be useful in 
> completing a protected operation inherited from an interface. Either allow no 
> shorthands, or all shorthands.

So this is the Mk II patch, allowing both.

Attachment: protected-operation-item.diff
Description: Binary data

_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to