Skip to content
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

控制结构switch中的<labeled-statement>应当推导出<statement-seq>而不是<statement> #10

Open
fazdzz opened this issue Dec 18, 2019 · 0 comments

Comments

@fazdzz
Copy link
Contributor

fazdzz commented Dec 18, 2019

https://github.com/BUAA-SE-Compiling/c0-handbook/blame/master/README.md#L712

在本学期的实验结束后,期望改成下面这样:

<labeled-statement> ::= 
     'case' (<integer-literal>|<char-literal>) ':' <statement-seq>
    |'default' ':' <statement-seq>

合理性需论证

@fazdzz fazdzz changed the title 控制结构switch中的<labeled-statement>应当可以不含<statement> 控制结构switch中的<labeled-statement>应当推导出<statement-seq>而不是<statement> Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant