Commit 351a8076 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Tweak precedence of "->" and <->.

* src/ltlparse/ltlparse.yy: Change the precedence of "->" and
"<->" so that "a & b -> c" is interpreted as "(a & b) -> c"
instead of "a & (b -> c)".  The new interpretation is more
intuitive, and matches that of LBTT.
parent cc66aff6
2010-03-06 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Tweak precedence of "->" and <->.
* src/ltlparse/ltlparse.yy: Change the precedence of "->" and
"<->" so that "a & b -> c" is interpreted as "(a & b) -> c"
instead of "a & (b -> c)". The new interpretation is more
intuitive, and matches that of LBTT.
2010-03-06 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* bench/ltl2tgba/formulae.ltl: Fix three formulae to match the
......
/* Copyright (C) 2009 Laboratoire de Recherche et Développement
/* Copyright (C) 2009, 2010 Laboratoire de Recherche et Dveloppement
** de l'Epita (LRDE).
/* Copyright (C) 2003, 2004, 2005, 2006 Laboratoire d'Informatique de
** Paris 6 (LIP6), dpartement Systmes Rpartis Coopratifs (SRC),
......@@ -93,10 +93,10 @@ using namespace spot::ltl;
/* Priorities. */
/* Logical operators. */
%left OP_IMPLIES OP_EQUIV
%left OP_OR
%left OP_XOR
%left OP_AND
%left OP_IMPLIES OP_EQUIV
/* LTL operators. */
%left OP_U OP_R
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment