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

Public GIT Repository
Merge pull request #256 from Flamefire/master
[simgrid.git] / src / xbt / automaton / parserPromela.yacc
index f88ac530876d9212b4293920514f324ceeeff5de..b96bc93dfdff8ffe245e4939737c2b74a933e2c6 100644 (file)
@@ -1,4 +1,14 @@
+/* Copyright (c) 2012-2014. The SimGrid Team.
+ * 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 "simgrid_config.h"
+#if !HAVE_UNISTD_H
+#define YY_NO_UNISTD_H /* hello Windows */
+#endif
 
 #include "automaton_lexer.yy.c"
 #include <xbt/automaton.h>
@@ -11,7 +21,7 @@ void yyerror(const char *s);
   double real;
   int integer;
   char* string;
-  xbt_exp_label_t label;
+  xbt_automaton_exp_label_t label;
 }
 
 %token NEVER