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

Ignore goto at REGEX_TYPE #55

Merged
merged 1 commit into from
Jul 18, 2023
Merged

Ignore goto at REGEX_TYPE #55

merged 1 commit into from
Jul 18, 2023

Conversation

kiokuless
Copy link
Contributor

@kiokuless kiokuless commented Jul 16, 2023

Hi, I am currently enjoying Piscine and am very helpful with this formatter! I changed the regex a bit because the current implementation parses goto label; as "declares a variable label of type goto".
I know that goto statements cannot be used because of norm, but the current implementation also seems a little strange, so please merge this PR if you like this change! Thank you!

@cacharle
Copy link
Collaborator

Please add a unit test for this and show me an example of what you're fixing

@cacharle cacharle merged commit 8d72dfc into dawnbeen:master Jul 18, 2023
20 checks passed
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

Successfully merging this pull request may close these issues.

2 participants