X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3472d37b8ae12bc794f7094dc72671677b1b68f9..cd0dec5653bce322b5e8b60ab08a965b586c1801:/src/xbt/automaton/parserPromela.yacc diff --git a/src/xbt/automaton/parserPromela.yacc b/src/xbt/automaton/parserPromela.yacc index 36fd2c0984..b96bc93dfd 100644 --- a/src/xbt/automaton/parserPromela.yacc +++ b/src/xbt/automaton/parserPromela.yacc @@ -1,10 +1,17 @@ +/* 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 "../../../include/xbt/automatonparse_promela.h" - //#include "../../../include/xbt/automaton.h" -#include "automaton_parse.yy.c" +#include "automaton_lexer.yy.c" #include -#include void yyerror(const char *s); @@ -14,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