12 lines
224 B
Rust
12 lines
224 B
Rust
|
extern crate proc_macro;
|
||
|
#[macro_use]
|
||
|
extern crate quote;
|
||
|
extern crate syn;
|
||
|
|
||
|
use self::proc_macro::TokenStream;
|
||
|
|
||
|
#[proc_macro_attribute]
|
||
|
pub fn parser_function(attr: TokenStream, item: TokenStream) -> TokenStream {
|
||
|
item
|
||
|
}
|