diff --git a/spot/twaalgos/gtec/gtec.cc b/spot/twaalgos/gtec/gtec.cc index f36d2fe3c..83d5c6326 100644 --- a/spot/twaalgos/gtec/gtec.cc +++ b/spot/twaalgos/gtec/gtec.cc @@ -20,12 +20,13 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -// #define TRACE #include "config.h" #include +// #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() diff --git a/spot/twaalgos/gtec/gtec.hh b/spot/twaalgos/gtec/gtec.hh index 2aa674ac8..f5ea41284 100644 --- a/spot/twaalgos/gtec/gtec.hh +++ b/spot/twaalgos/gtec/gtec.hh @@ -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_;