]> AND Public Git Repository - simgrid.git/blobdiff - src/xbt/automatonparse_promela.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make xbt_ex_setup_backtrace() survive to an empty backtrace.
[simgrid.git] / src / xbt / automatonparse_promela.c
index 61598358296158f09bc0e282a326e73a078c4406..128a87469d9ce6258ad739f797b9f493eb3d5269 100644 (file)
@@ -1,5 +1,6 @@
 #include "xbt/automatonparse_promela.h"
 
+xbt_automaton_t automaton;
 char* state_id_src;
 
 void init(){
@@ -43,8 +44,8 @@ void new_transition(char* id, xbt_exp_label_t label){
   state_dst = xbt_automaton_state_exists(automaton, id_state);
   xbt_state_t state_src = xbt_automaton_state_exists(automaton, state_id_src); 
   
-  xbt_transition_t trans = NULL;
-  trans = xbt_automaton_new_transition(automaton, state_src, state_dst, label);
+  //xbt_transition_t trans = NULL;
+  xbt_automaton_new_transition(automaton, state_src, state_dst, label);
 
 }