-
Notifications
You must be signed in to change notification settings - Fork 47
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
#469: Update grammar to support Swift 3.0.1 #475
Conversation
- Add grammar for tuple expressions - Add playground literal grammar - Remove expressionElementList and use tupleElementList instead - Add function call grammar - Modify postfixExpression grammar - Fix every test that broke because of these changes ...
1fdea21
to
7deaccb
Compare
@@ -771,11 +798,7 @@ postfixOperator : operator ; | |||
sType |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this named sType
instead of Type
for name clash?
Great work! 🎉 Don't forget to update the wiki 😃 ! Can you also update the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to add grammar
tests for labeled if
statements?
@@ -99,7 +99,7 @@ defaultLabel : 'default' ':' ; | |||
|
|||
// GRAMMAR OF A LABELED STATEMENT | |||
|
|||
labeledStatement : statementLabel loopStatement | statementLabel switchStatement ; | |||
labeledStatement : statementLabel (loopStatement | ifStatement | switchStatement | doStatement) ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to add grammar tests for this change?
unionStyleEnumMembers : unionStyleEnumMember+ ; | ||
unionStyleEnumMember : declaration | unionStyleEnumCaseClause ';'? ; | ||
unionStyleEnumMember : declaration | unionStyleEnumCaseClause ';'? | compilerControlStatement ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to add grammar tests for these changes?
Resolves #469.