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

Another conversion bug $reference(directive) #649

Open
RedCMD opened this issue Nov 20, 2023 · 1 comment
Open

Another conversion bug $reference(directive) #649

RedCMD opened this issue Nov 20, 2023 · 1 comment

Comments

@RedCMD
Copy link

RedCMD commented Nov 20, 2023

I assume $reference(directive) should be $7
"name":"meta.preprocessor.diagnostic.$reference(directive).cpp"

at char 61500
under "diagnostic"
https://github.com/jeff-hykin/better-cpp-syntax/blob/master/autogenerated/cpp.embedded.macro.tmLanguage.json

image

would it be because "name" is referencing a "begin" rather than a "match"?

EDIT:
also same in cpp

"name": "meta.preprocessor.diagnostic.$reference(directive).cpp",

@RedCMD RedCMD changed the title Another conversion bug Another conversion bug $reference(directive) Nov 20, 2023
@jeff-hykin
Copy link
Owner

would it be because "name" is referencing a "begin" rather than a "match"?

Probably. But it's weird the grammar generator doesn't throw an error when it sees a $reference that it can't resolve. I'll have to look into that some time

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

2 participants