-
Notifications
You must be signed in to change notification settings - Fork 0
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
Access specifier grammar is not clear #40
Labels
Comments
nickbattle
changed the title
Access speciffier grammer is not clear
Access specifier grammar is not clear
Feb 12, 2017
I think Nick's suggestion is
I propose we accept this and the constraint of no duplicates is external to the grammar. |
I agree. Nonsense combinations like "public private" can be handled as a semantic issue. |
The LB support the change proposed, which is also compatible with the tools. The LRM still needs to be updated to reflect this change. |
tomooda
added a commit
to overturetool/documentation
that referenced
this issue
Nov 12, 2017
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As explained in overturetool/overture#610 there used to be a minor issue with parsing of access specifiers that has now been fixed. In addition, there is another problem with the way the grammar is defined.
In the LRM the
access operation definition
nonterminal defines two orderings of keywords. This made sense when it could only be either static or an access specifier, but with pure and async in the mix we have various possibilities, and picking two arbitrary orderings seems strange:The text was updated successfully, but these errors were encountered: