New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong place for model annotation #61

casella opened this Issue Apr 2, 2014 · 1 comment


None yet
2 participants
Copy link

casella commented Apr 2, 2014

In, you write the model annotation in the third line. As far as I understand, the syntax rules prescribe to put it just before the end statement. Section B 2.2 of the spec:

class_definition :
[ encapsulated ] class_prefixes

class_specifier :
long_class_specifier | short_class_specifier | der_class_specifier

long_class_specifier :
IDENT string_comment composition end IDENT
| extends IDENT [ class_modification ] string_comment composition

composition :
{ public element_list |
protected element_list |
equation_section |
[ external [ language_specification ]
[ external_function_call ] [ annotation ] ";" ]
[ annotation ";" ]


This comment has been minimized.

Copy link

xogeny commented Apr 11, 2014

This is fixed in 1ba5821

@xogeny xogeny closed this Apr 11, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment