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

Interface for macro handlers: add information on braces around arguments #136

Closed
matze-dd opened this issue Nov 30, 2020 · 0 comments
Closed
Labels
enhancement New feature or request

Comments

@matze-dd
Copy link
Collaborator

More complicated macros in extension modules can be defined on Python level and use the interface provided by Macro(..., repl=f). The handler function f() receives a token list for each declared argument. Currently, there is no information whether a mandatory argument is enclosed in {} braces. For a proper look-ahead, as in macro \xspace, this is necessary.

The enhancement would break the current interface for macro handler functions.

@matze-dd matze-dd added the enhancement New feature or request label Nov 30, 2020
matze-dd added a commit that referenced this issue Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant