X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/db2de683ddd3ab7f2bcb33e16747b0d4f0222773..a6c6d47c34f60557c93aa6f5f209e4b66528c3f1:/src/xbt/automaton/automatonparse_promela.c diff --git a/src/xbt/automaton/automatonparse_promela.c b/src/xbt/automaton/automatonparse_promela.c index f35835daad..c6abfb5634 100644 --- a/src/xbt/automaton/automatonparse_promela.c +++ b/src/xbt/automaton/automatonparse_promela.c @@ -12,6 +12,9 @@ #if HAVE_UNISTD_H # include /* isatty */ #endif +#include + +XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(xbt_automaton); static xbt_automaton_t parsed_automaton; char* state_id_src; @@ -89,6 +92,9 @@ static xbt_automaton_exp_label_t new_label(int type, ...){ case 4 : label = xbt_automaton_exp_label_new(type); break; + default: + XBT_DEBUG("Invalid type: %d", type); + break; } va_end(ap); return label;