Piotr Trojanek <[email protected]> writes: > 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.
Thanks for the test. It accepts: Tmp : Boolean := Id ((if True then True else True)); So you can use that as a workaround. I remember there is some rule that allows removing the doubled parens in this situation, but now I can't find it. I've posted on c.l.a about it; when I find the rule, I'll fix ada-grammary.wy. -- -- Stephe _______________________________________________ Emacs-ada-mode mailing list [email protected] http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org
