]> AND Public Git Repository - simgrid.git/blobdiff - include/xbt/automaton.h
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add on_exit support on SIMIX/MSG, calling functions when the process is dying (stopped)
[simgrid.git] / include / xbt / automaton.h
index 33acf99398c89ab880ce12e194825480e35114a6..f140ed2e82f259cc36dac78db8a331e0f5e092cb 100644 (file)
@@ -28,9 +28,7 @@ typedef struct xbt_automaton {
 typedef struct xbt_automaton* xbt_automaton_t;
 
 typedef struct xbt_exp_label{
-  /* fixme: "or", "and", and "not" are reserved keywords in C++ */
-  /* enum{or=0, and=1, not=2, predicat=3, one=4} type; */
-  int type;
+  enum{or=0, and=1, not=2, predicat=3, one=4} type;
   union{
     struct{
       struct xbt_exp_label* left_exp;