Skip to content

Macro improvements - #17838

Merged
bors merged 1 commit into
rust-lang:masterfrom
vadimcn:macros
Oct 8, 2014
Merged

Macro improvements#17838
bors merged 1 commit into
rust-lang:masterfrom
vadimcn:macros

Conversation

@vadimcn

Copy link
Copy Markdown
Contributor

No description provided.

@huonw

huonw commented Oct 7, 2014

Copy link
Copy Markdown
Contributor

cc #17830

Also, the first commit can be landed in a flash, but the second commit theoretically requires an RFC, so it may be worth separating them.

@vadimcn

Copy link
Copy Markdown
ContributorAuthor

ok, I dropped second commit from this PR.

…g options..." error in macros, which often occurs when trying to match parts of Rust syntax.
For example, this matcher: `fn $name:ident( $($param:ident : $pty:ty),* )` would fail when parsing `fn foo()`, because macro parser wouldn't realize that an ident cannot start with `)`.
This resolvesrust-lang#5902, and at least partially mitigates rust-lang#9364 and rust-lang#3232.
@borsbors closed this Oct 8, 2014
@bors
bors merged commit fc60797 into rust-lang:masterOct 8, 2014
@vadimcn
vadimcn deleted the macros branch March 1, 2015 08:02
Sign up for freeto 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.

4 participants

@vadimcn@huonw@alexcrichton@bors