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

Cannot use partial to complement parser/lexer (unless namespace is explicitly specified) #61

Open
paviad opened this issue Jul 9, 2023 · 2 comments

Comments

@paviad
Copy link

paviad commented Jul 9, 2023

If you don't explicitly specify Custom Tool Namespace (-package) in the properties of the grammar project item, you cannot extend the generated parser or lexer class by using a partial class in your own source.

@lextm
Copy link
Contributor

lextm commented Sep 9, 2023

I think this is what C# language requires and not something this repo can resolve.

@paviad
Copy link
Author

paviad commented Sep 10, 2023

Repo can resolve by outputting an explicit namespace declaration

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