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 quasiquote for matchers and attributes #22061

Merged
merged 1 commit into from
Mar 5, 2015

Conversation

pczarn
Copy link
Contributor

@pczarn pczarn commented Feb 7, 2015

Fixes #19674
Fixes #17396 (already closed, yeah)

cc @kmcallister , @cmr

@rust-highfive
Copy link
Collaborator

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

r? @kmcallister

vec!(e_tok));
vec!(cx.stmt_expr(e_push))
} else {
panic!("TtSequence in quote!")
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you move this to the top as

if !matcher {
    panic!("TtSequence in quote!");
}

and then un-indent the bulk of the code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@pczarn pczarn force-pushed the quote_matcher_and_attr branch 2 times, most recently from d75fbf5 to 4e355e2 Compare February 24, 2015 18:56
@kmcallister
Copy link
Contributor

r=me with those two things

@pczarn
Copy link
Contributor Author

pczarn commented Mar 4, 2015

Updated, tested.

@kmcallister
Copy link
Contributor

@bors r+ 3541abe

@bors
Copy link
Contributor

bors commented Mar 4, 2015

⌛ Testing commit 3541abe with merge 7350162...

@Manishearth
Copy link
Member

(I might be forcebuilding the rollup, so the build may fail a couple of times here, sorry in advance)

@bors
Copy link
Contributor

bors commented Mar 4, 2015

💔 Test failed - auto-linux-64-x-android-t

@Manishearth
Copy link
Member

@bors: retry

@Manishearth
Copy link
Member

In case the rollup causes a merge conflict, here is the fix: 290caba

@bors
Copy link
Contributor

bors commented Mar 5, 2015

⌛ Testing commit 3541abe with merge 68740b4...

bors added a commit that referenced this pull request Mar 5, 2015
@bors bors merged commit 3541abe into rust-lang:master Mar 5, 2015
@bors bors mentioned this pull request Mar 5, 2015
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.

Add quasiquote for attributes Better integration between MBE and procedural macros
6 participants