Skip to content

Add hint for Cpp1 prefix operators #419

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
May 20, 2023
Merged

Conversation

ntrel
Copy link
Contributor

@ntrel ntrel commented May 5, 2023

I'm assuming no Cpp2 expression starts with one of those tokens.

@JohelEGP
Copy link
Contributor

JohelEGP commented May 5, 2023

Resolves #416.

@hsutter
Copy link
Owner

hsutter commented May 20, 2023

Thanks!

I'll merge this and apply the following updates separately, but for future reference:

  • Regression tests that are intended to fail should be named "*-error.cpp2" so the quick sanity-check counts in my run-tests script account for them correctly
  • Just a nit: These days I try to keep messages of the form " is not allowed, use instead" or " may not , did you mean ?", though I'm sure I violate that all over the place myself esp. with earlier messages

Again, thanks.

@hsutter hsutter merged commit 41f7dde into hsutter:main May 20, 2023
hsutter added a commit that referenced this pull request May 20, 2023
zaucy pushed a commit to zaucy/cppfront that referenced this pull request Dec 5, 2023
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.

3 participants