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

Support interpolating macros with function params #640

Closed
wants to merge 2 commits into from
Closed

Conversation

iwysiu
Copy link
Contributor

@iwysiu iwysiu commented Mar 3, 2023

What this PR does / why we need it:
This pr adds support for macros with function parameters to the macro helper. The expends the macros that it supports.
Which issue(s) this PR fixes:

Fixes #639

Special notes for your reviewer:

case '(':
nested++
case ')':
if nested == 0 {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In actuality this one shouldn't happen, because getMacroMatches automatically cuts off the macro when it runs into an extra closing parenthesis.

Copy link

This pull request has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in 2 weeks if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions bot added the stale Issue or PR without activity label Feb 29, 2024
Copy link

This pull request has been automatically closed because it has not had activity in the last 2 weeks. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions bot closed this Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue or PR without activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support interpolating macros with function arguments
1 participant