Hi Stephen,
with the latest monotone branch org.emacs.ada-mode and I get a parser
syntax error on code with conditional expression as an actual
parameter.
A quick look at the ada-grammar.wy suggest that this is not yet
supported by the grammar definition. Test attached. Hope this helps.
--
Piotr Trojanek
procedure If_Expr_As_Actual_Parameter is
function Id (X : Boolean) return Boolean is
begin
return X;
end Id;
Tmp : Boolean := Id (if True then True else True);
begin
null;
end If_Expr_As_Actual_Parameter;
_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org