blob: 54e3d7857267b9efdf23520444b8c6bfe31fa068 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
macro_rules! produce_it {
($dollar_one:tt $foo:ident $my_name:ident) => {
#[macro_export]
macro_rules! meta_delim {
($dollar_one ($dollar_one $my_name:ident)*) => {
stringify!($dollar_one ($dollar_one $my_name)*)
}
}
}
}
produce_it!($my_name name);
|