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

add named re2c:rules blocks #51

Open
skvadrik opened this issue Oct 3, 2014 · 3 comments
Open

add named re2c:rules blocks #51

skvadrik opened this issue Oct 3, 2014 · 3 comments
Assignees

Comments

@skvadrik
Copy link
Owner

@skvadrik skvadrik commented Oct 3, 2014

re2c should allow multiple re2c:rules blocks.
Different blocks should be addressed somehow, e.g. by name.

Original comment by: skvadrik

@skvadrik
Copy link
Owner Author

@skvadrik skvadrik commented Oct 3, 2014

  • labels: --> reuse

Original comment by: skvadrik

Loading

@skvadrik skvadrik self-assigned this Jul 23, 2015
@skvadrik skvadrik changed the title allow multiple re2c:rules blocks add named re2c:rules blocks May 21, 2021
@skvadrik
Copy link
Owner Author

@skvadrik skvadrik commented May 21, 2021

This also came up in #351.

Also, docs for reuse mode need to be updated as requested in: #351 (comment).

Loading

@skvadrik
Copy link
Owner Author

@skvadrik skvadrik commented May 27, 2021

@hddharvey FYI I added support for named blocks and in-block use directive (#353). Here is a simple example: https://github.com/skvadrik/re2c/blob/master/examples/c/reuse/usedir.re. Docs are also updated, but not on re2c.org yet.

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant