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
Raw File
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.
Tip revision: 6937ece
Makefile.system
# -*- Makefile -*-

# --------------------------------------------------------------------
OCAML    := $(shell ocamlbuild -which ocamlc 2>/dev/null || echo false)
CC       := gcc
MACHINE  := $(shell $(OCAML) -ccopt -dumpmachine dummy.c 2>/dev/null)
UNAME    := $(shell uname -s)
EXE      :=

ifneq (,$(findstring CYGWIN,$(UNAME)))
  CC = $(MACHINE)-gcc
endif

ifneq (,$(findstring mingw,$(MACHINE)))
EXE := .exe
endif

ifneq (,$(findstring cygwin,$(MACHINE)))
EXE := .exe
endif
back to top