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

Expand macros before looking for string literal #2

Closed
wants to merge 1 commit into from

Conversation

kemurphy
Copy link
Contributor

This enables things like regexp!(concat!("^", $r)) in other macros.

@BurntSushi
Copy link
Owner

Ah this is awesome! I completely missed expand_expr. Merged in d6aa8b5. (I rebased it onto master, so I think that's why Github lost track of it.)

I'll also add this to the upstream PR rust-lang/rust#13700.

@BurntSushi BurntSushi closed this Apr 23, 2014
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

Successfully merging this pull request may close these issues.

2 participants