Skip to content

Commit fd4ef65

Browse files
committed
rust: Vendor literal parsing from syn crate
`module!` macro currently have some ad-hoc literal parsing. `syn` crate provides some proper parsing for us to use. Signed-off-by: Gary Guo <[email protected]>
1 parent 0748450 commit fd4ef65

File tree

3 files changed

+895
-0
lines changed

3 files changed

+895
-0
lines changed

rust/macros/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
//! Crate for all kernel procedural macros.
44
mod module;
5+
mod syn;
56

67
use proc_macro::TokenStream;
78

0 commit comments

Comments
 (0)