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

parser: Allow parsing stmts without closing semicolon #1027

Merged
merged 1 commit into from Mar 17, 2022

Conversation

CohenArthur
Copy link
Member

In certain cases such as macro matching or macro expansion, it is
important to allow the parser to return a valid statement even if no
closing semicolon is given. This commit adds an optional parameter to
the concerned functions to allow a lack of semicolon those special cases

Closes #1011
Closes #1010

In certain cases such as macro matching or macro expansion, it is
important to allow the parser to return a valid statement even if no
closing semicolon is given. This commit adds an optional parameter to
the concerned functions to allow a lack of semicolon those special cases
@CohenArthur CohenArthur added this to the Macro Expansion milestone Mar 14, 2022
@CohenArthur CohenArthur added this to In progress in Control Flow 3 Macros via automation Mar 14, 2022
Control Flow 3 Macros automation moved this from In progress to Reviewer approved Mar 15, 2022
@CohenArthur
Copy link
Member Author

bors r+

@bors
Copy link
Contributor

bors bot commented Mar 17, 2022

Build succeeded:

@bors bors bot merged commit e48bce4 into Rust-GCC:master Mar 17, 2022
Control Flow 3 Macros automation moved this from Reviewer approved to Done Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
2 participants