Skip to content

refactor(parse): consider the case of missing equal in initializer #562

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

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

JohelEGP
Copy link
Contributor

I've gotten used to the Cpp2 grammar
and know to write = before a declaration's statement.
However, when refactoring Cpp2, I somehow lose the = sometimes.
So this PR improves the error message to consider the missing =.

@hsutter
Copy link
Owner

hsutter commented Aug 11, 2023

Thanks!

@hsutter hsutter merged commit 75eed67 into hsutter:main Aug 11, 2023
@JohelEGP JohelEGP deleted the declaration_equal branch August 11, 2023 03:32
zaucy pushed a commit to zaucy/cppfront that referenced this pull request Dec 5, 2023
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