stop macro from returning #2

Merged
Quaternions merged 1 commits from Jeftaei/map-tool:master into master 2023-09-14 21:19:02 +00:00

View File

@ -7,13 +7,13 @@ pub type StdResult<T, E> = std::result::Result<T, E>;
// so heres labelprint as a macro
#[macro_export]
macro_rules! lprint {
($expr:expr) => {
($expr:expr) => {{
let ___this_file = std::file!();
let ___line = std::line!();
// let ___column = column!();
println!("[{}:{}] {}", ___this_file, ___line, $expr);
};
($expr:expr, $($arg:tt)*) => {
}};
($expr:expr, $($arg:tt)*) => {{
lprint!(format!($expr, $($arg)*));
};
}};
}