X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c912b7d6e75473bd05731ccf77f3e2d82afb7802..ec63b14f8fcd0a88515e4260e00c41b77c0274cc:/include/xbt/automaton.h diff --git a/include/xbt/automaton.h b/include/xbt/automaton.h index f140ed2e82..33acf99398 100644 --- a/include/xbt/automaton.h +++ b/include/xbt/automaton.h @@ -28,7 +28,9 @@ typedef struct xbt_automaton { typedef struct xbt_automaton* xbt_automaton_t; typedef struct xbt_exp_label{ - enum{or=0, and=1, not=2, predicat=3, one=4} type; + /* fixme: "or", "and", and "not" are reserved keywords in C++ */ + /* enum{or=0, and=1, not=2, predicat=3, one=4} type; */ + int type; union{ struct{ struct xbt_exp_label* left_exp;