From 7a95c38290ab2860085faa7249106af7e5f7ce7e Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 26 Nov 2010 17:38:52 -0500 Subject: [PATCH] Diagnostics - Added configuration settings for 'regex' and 'locking', which might be useful. --- src/diag.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/diag.cpp b/src/diag.cpp index f2cfb5640..4279c7fe8 100644 --- a/src/diag.cpp +++ b/src/diag.cpp @@ -193,6 +193,14 @@ void handleDiagnostics (std::string& outs) << ", mode " << std::setbase (8) << location.mode () + << "\n"; + + std::cout << " Locking: " + << (context.config.getBoolean ("locking") ? "Enabled" : "Disabled") + << "\n"; + + std::cout << " Regex: " + << (context.config.getBoolean ("regex") ? "Enabled" : "Disabled") << "\n\n"; // External commands.