File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ macro_rules! mem_info {
8686// Using macro to implement join many wrapper
8787#[ macro_export]
8888macro_rules! join_many {
89- [ $dim: expr; $( $x: ident ) ,+] => {
89+ [ $dim: expr; $( $x: expr ) ,+] => {
9090 {
9191 let mut temp_vec = Vec :: new( ) ;
9292 $(
@@ -110,7 +110,7 @@ macro_rules! join_many {
110110///
111111#[ macro_export]
112112macro_rules! af_print {
113- [ $msg: expr, $x: ident ] => {
113+ [ $msg: expr, $x: expr ] => {
114114 {
115115 print_gen( String :: from( $msg) , & $x, Some ( 4 ) ) ;
116116 }
@@ -120,7 +120,7 @@ macro_rules! af_print {
120120/// Evaluate arbitrary number of arrays
121121#[ macro_export]
122122macro_rules! eval {
123- [ $( $x: ident ) ,+] => {
123+ [ $( $x: expr ) ,+] => {
124124 {
125125 let mut temp_vec = Vec :: new( ) ;
126126 $(
You can’t perform that action at this time.
0 commit comments