* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/automaton.h"
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/automaton.h"
static xbt_automaton_t parsed_automaton;
char* state_id_src;
static void new_state(char* id, int src){
static xbt_automaton_t parsed_automaton;
char* state_id_src;
static void new_state(char* id, int src){
char* first_part = strtok(id,"_");
int type = 0 ; // -1=initial state; 0=intermediate state; 1=final state
char* first_part = strtok(id,"_");
int type = 0 ; // -1=initial state; 0=intermediate state; 1=final state
xbt_automaton_state_t state_dst = NULL;
new_state(id, 0);
state_dst = xbt_automaton_state_exists(parsed_automaton, id_state);
xbt_automaton_state_t state_dst = NULL;
new_state(id, 0);
state_dst = xbt_automaton_state_exists(parsed_automaton, id_state);