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

Highlight cross references for grammar rules with multiple definitions #8

Open
rillig opened this issue Dec 21, 2024 · 0 comments
Open

Comments

@rillig
Copy link

rillig commented Dec 21, 2024

In a grammar, I have these lines:

%%
start : program { }
program : { }
program : { }

When I select the word program in line 2 or 3, the other one is highlighted as well, just as expected.

When I select the word program in line 4, the other ones in lines 2 and 3 are not highlighted, even though they refer to the same grammar rule.

By the way, thank you for the plugin, it's great that the plugin is also useful for C grammars like for Bison and Yacc, even though this is not the plugin's primary goal.

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

1 participant