A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kill ALL trailing whitespace (and deprecate a function in Link)
[simgrid.git]
/
src
/
xbt
/
automaton
/
automatonparse_promela.c
diff --git
a/src/xbt/automaton/automatonparse_promela.c
b/src/xbt/automaton/automatonparse_promela.c
index
f35835d
..
c6abfb5
100644
(file)
--- a/
src/xbt/automaton/automatonparse_promela.c
+++ b/
src/xbt/automaton/automatonparse_promela.c
@@
-12,6
+12,9
@@
#if HAVE_UNISTD_H
# include <unistd.h> /* isatty */
#endif
#if HAVE_UNISTD_H
# include <unistd.h> /* isatty */
#endif
+#include <xbt/log.h>
+
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(xbt_automaton);
static xbt_automaton_t parsed_automaton;
char* state_id_src;
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;
case 4 :
label = xbt_automaton_exp_label_new(type);
break;
+ default:
+ XBT_DEBUG("Invalid type: %d", type);
+ break;
}
va_end(ap);
return label;
}
va_end(ap);
return label;