summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQrius <[email protected]>2024-09-26 00:11:05 +0200
committerQrius <[email protected]>2024-09-26 00:11:05 +0200
commit13734ba915a8e35c51766c72d40089fadec5854e (patch)
tree4e30f31c8ce2da3216cd7c8b73fcb327430240bf /src
parentbaaa4f147e36f8f667557ee1c64c7240da624001 (diff)
downloadskaldpress-13734ba915a8e35c51766c72d40089fadec5854e.tar.gz
skaldpress-13734ba915a8e35c51766c72d40089fadec5854e.zip
Remove some debug prints
Diffstat (limited to 'src')
-rw-r--r--src/macro_processor/macro_processor.rs8
-rw-r--r--src/skaldpress/main.rs3
2 files changed, 0 insertions, 11 deletions
diff --git a/src/macro_processor/macro_processor.rs b/src/macro_processor/macro_processor.rs
index 3164aa6..7ec296e 100644
--- a/src/macro_processor/macro_processor.rs
+++ b/src/macro_processor/macro_processor.rs
@@ -11,14 +11,6 @@ macro_rules! dprint {
}
}
-// // println only with debug_assertions
-// macro_rules! dprintln {
-// ($($x:tt)*) => {
-// #[cfg(debug_assertions)]
-// println!($($x)*)
-// }
-// }
-
// Point to one or more ranges of a string, useful for highlighting parts of string
macro_rules! highlight_debug {
($hi_col:expr, $str:expr $(, ($pos:tt -> $endpos:tt))*) => {
diff --git a/src/skaldpress/main.rs b/src/skaldpress/main.rs
index 45d0a78..cde1dee 100644
--- a/src/skaldpress/main.rs
+++ b/src/skaldpress/main.rs
@@ -423,7 +423,4 @@ fn main() {
println!("Rerun compilation");
opts.first_run = false;
let _ = compile_files_in_directory(Path::new(&opts.content_dir), &opts);
-
- // Just for testing
- //compile_file_and_write(Path::new("content/test.html"));
}