| 1 |
#[cfg(feature = "debug")] |
| 2 |
macro_rules! debugrust-analyzer cargo logos-codegen 0.15.1 macros/debug! { |
| 3 |
($($arg:tt)*) => { |
| 4 |
eprint!("[{}:{}:{}] ", file!(), line!(), column!()); |
| 5 |
eprintln!($($arg)*) |
| 6 |
} |
| 7 |
} |
| 8 |
|
| 9 |
#[cfg(not(feature = "debug"))] |
| 10 |
macro_rules! debug { |
| 11 |
($($arg:tt)*) => {}; |
| 12 |
} |