Georg Bauhaus <[email protected]> writes:

> Hi,
>
> Ada text
>
> package Seminame is end;
>
> in Ada mode 5.1.8 gives
>
> seminame.ads:1:24: syntax error in grammar state 432; unexpected ;,
> expecting one of (default IDENTIFIER CHARACTER_LITERAL STRING_LITERAL)
>
> I have gessed it’s because the second rule of package_specification
> in ada-grammar.wy does not end with `name_opt', but with `name'?
>
> package_specification
> ; (...)
>   | PACKAGE name aspect_specification_opt IS declarative_part_opt END
>   | name

yes, that's the bug.

I've added a test for this.

-- 
-- Stephe

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

Reply via email to