diff options
author | Pjotr Prins | 2025-01-04 02:53:42 -0600 |
---|---|---|
committer | Pjotr Prins | 2025-01-04 02:53:42 -0600 |
commit | e58c198e1e5fd8f94cdcaf3c621931ee3a21e2f4 (patch) | |
tree | a62fbb0bad7c1a4c38ee835f6d32318d652dda9f /src/checkpoint.cpp | |
parent | 2701a364228d91ba2c52f511ad6619d070e2235b (diff) | |
download | pangemma-e58c198e1e5fd8f94cdcaf3c621931ee3a21e2f4.tar.gz |
Added checkpoints for file readers
Diffstat (limited to 'src/checkpoint.cpp')
-rw-r--r-- | src/checkpoint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/checkpoint.cpp b/src/checkpoint.cpp index a37c1be..9bcf53b 100644 --- a/src/checkpoint.cpp +++ b/src/checkpoint.cpp @@ -27,9 +27,9 @@ using namespace std; void checkpoint_run(string msg, string filename, string srcfilename, int line, string funcname) { - is_debug_mode() && std::cerr << "**** DEBUG: checkpoint " << msg << " passed with " << filename << " in " << srcfilename << " at line " << line << " in " << funcname << endl; + is_debug_mode() && std::cerr << "**** DEBUG: checkpoint '" << msg << "' passed with file " << filename << " in " << srcfilename << " at line " << line << " in func " << funcname << endl; if (msg == checkpoint_name) { - cerr << "**** Checkpoint reached: " << msg << " (normal exit)" << endl; + cerr << "**** Checkpoint reached: " << msg << " with file " << filename << " (normal exit)" << endl; exit(0); } } |