A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename the plugins from the command line, and document it
[simgrid.git]
/
src
/
xbt
/
automaton
/
parserPromela.yacc
diff --git
a/src/xbt/automaton/parserPromela.yacc
b/src/xbt/automaton/parserPromela.yacc
index
b96bc93
..
2499e83
100644
(file)
--- a/
src/xbt/automaton/parserPromela.yacc
+++ b/
src/xbt/automaton/parserPromela.yacc
@@
-1,4
+1,4
@@
-/* Copyright (c) 2012-201
4
. The SimGrid Team.
+/* Copyright (c) 2012-201
8
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-54,11
+54,11
@@
void yyerror(const char *s);
%%
%%
-automaton : NEVER LEFT_BRACE stateseq RIGHT_BRACE
+automaton : NEVER LEFT_BRACE stateseq RIGHT_BRACE
;
;
-stateseq :
- | ID COLON { new_state($1, 1);} IF option FI SEMI_COLON stateseq
+stateseq :
+ | ID COLON { new_state($1, 1);} IF option FI SEMI_COLON stateseq
;
option :
;
option :
@@
-72,7
+72,7
@@
exp : LEFT_PAR exp RIGHT_PAR { $$ = $2; }
| CASE_TRUE { $$ = new_label(4); }
| ID { $$ = new_label(3, $1); }
;
| CASE_TRUE { $$ = new_label(4); }
| ID { $$ = new_label(3, $1); }
;
-
+
%%
%%