Fixed match, and enabled macro keywords to share names with constants
This commit is contained in:
@@ -25,8 +25,8 @@ pub struct Macro(pub Rc<MacroData>);
|
||||
pub struct Rule {
|
||||
pub pattern: MacTreeSeq,
|
||||
pub matcher: Matcher,
|
||||
pub placeholders: Vec<Tok<String>>,
|
||||
pub body_name: Tok<String>,
|
||||
pub ph_names: Vec<Tok<String>>,
|
||||
pub body: Tok<String>,
|
||||
}
|
||||
impl Atomic for Macro {
|
||||
type Data = ();
|
||||
|
||||
Reference in New Issue
Block a user