This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Should MacroCall include optional ident? #51
Labels
grammar
Issues with the definition of the rust grammar
Comments
Support for defining
|
Centril
added a commit
to Centril/rust
that referenced
this issue
Jul 1, 2019
syntax: Unsupport `foo! bar { ... }` macros in the parser Their support in expansion was removed in rust-lang#61606. Also un-reserve `macro_rules` as a macro name, there's no ambiguity between `macro_rules` definitions and macro calls (it also wasn't reserved correctly). cc rust-lang/wg-grammar#51
Centril
added a commit
to Centril/rust
that referenced
this issue
Jul 3, 2019
syntax: Unsupport `foo! bar { ... }` macros in the parser Their support in expansion was removed in rust-lang#61606. Also un-reserve `macro_rules` as a macro name, there's no ambiguity between `macro_rules` definitions and macro calls (it also wasn't reserved correctly). cc rust-lang/wg-grammar#51
Centril
added a commit
to Centril/rust
that referenced
this issue
Jul 3, 2019
syntax: Unsupport `foo! bar { ... }` macros in the parser Their support in expansion was removed in rust-lang#61606. Also un-reserve `macro_rules` as a macro name, there's no ambiguity between `macro_rules` definitions and macro calls (it also wasn't reserved correctly). cc rust-lang/wg-grammar#51
Centril
added a commit
to Centril/rust
that referenced
this issue
Jul 3, 2019
syntax: Unsupport `foo! bar { ... }` macros in the parser Their support in expansion was removed in rust-lang#61606. Also un-reserve `macro_rules` as a macro name, there's no ambiguity between `macro_rules` definitions and macro calls (it also wasn't reserved correctly). cc rust-lang/wg-grammar#51
Centril
added a commit
to Centril/rust
that referenced
this issue
Jul 3, 2019
syntax: Unsupport `foo! bar { ... }` macros in the parser Their support in expansion was removed in rust-lang#61606. Also un-reserve `macro_rules` as a macro name, there's no ambiguity between `macro_rules` definitions and macro calls (it also wasn't reserved correctly). cc rust-lang/wg-grammar#51
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The current grammar defines a macro call with an IDENT after the
!
, but libsyntax rejects this in various places.foo!bar{}
If this is removed, then special support for
macro_rules!
would need to be added.The text was updated successfully, but these errors were encountered: