Commit a3b9469d authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

gtec: hide some debugging code behind #if/#endif

* spot/twaalgos/gtec/gtec.cc, spot/twaalgos/gtec/gtec.hh:
Here.
parent 75550112
......@@ -20,12 +20,13 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define TRACE
#include "config.h"
#include <iostream>
// #define TRACE
#ifdef TRACE
#define trace std::cerr
#define SPOT_TRACE 1
#else
#define trace while (0) std::cerr
#endif
......@@ -370,7 +371,7 @@ namespace spot
assert(depth() == 0);
}
void
#ifdef TRACE
couvreur99_check_shy::dump_queue(std::ostream& os)
{
os << "--- TODO ---\n";
......@@ -390,6 +391,7 @@ namespace spot
os << "}\n";
}
}
#endif
emptiness_check_result_ptr
couvreur99_check_shy::check()
......
......@@ -230,8 +230,10 @@ namespace spot
void clear_todo();
#ifdef SPOT_TRACE
/// Dump the queue for debugging.
void dump_queue(std::ostream& os = std::cerr);
#endif
/// Whether successors should be grouped for states in the same SCC.
bool group_;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment