https://github.com/EasyCrypt/easycrypt
Revision 6937ece4b2a9873a261fc0b654ff3311d9301606 authored by Pierre-Yves Strub on 09 December 2015, 19:29:50 UTC, committed by Pierre-Yves Strub on 09 December 2015, 19:30:13 UTC
This is in accordance with the parser definition. As a consequence, when mixing [-]/[+] with (-)/(+), the pp now prints explicit parentheses in all cases. Given the unusual precedences unary operators have, we should stick to this until we fix them.
1 parent 92900c9
Tip revision: 6937ece4b2a9873a261fc0b654ff3311d9301606 authored by Pierre-Yves Strub on 09 December 2015, 19:29:50 UTC
In pp: priority of uniry arith ops. have a priority equal to their binary counter-parts.
In pp: priority of uniry arith ops. have a priority equal to their binary counter-parts.
Tip revision: 6937ece
_tags
# --------------------------------------------------------------------
true : use_menhir, menhir_explain, menhir_table
true : debug
true : warn_Z, warn_Y, warn_+28, warn_-23, warn_+33
true : -traverse
true : bin_annot
# true : menhir_trace
# true : bisect
# --------------------------------------------------------------------
<src> : include
<src/why3> : include
<src/phl> : include
<src/extraction> : include
<src/system> : include
# --------------------------------------------------------------------
<src/*.{ml,mli}> : package(batteries, menhirLib, why3, zarith, pcre)
<src/*/*.{ml,mli}> : package(batteries, menhirLib, why3, zarith, pcre)
<src/*.{native,byte}> : package(batteries, menhirLib, why3, zarith, pcre)
Computing file changes ...