Adapt to new interface of reatk.ctrlNbac (≥ 0.14)

This commit is contained in:
Nicolas Berthier 2018-06-06 14:45:50 +01:00
parent 8872bb3998
commit 7abe92dc0d
2 changed files with 2 additions and 1 deletions

View file

@ -244,6 +244,7 @@ let translate_expr gd e =
%a" print_typ (`Bint (s, w)), flag))
| `Nuop (op, e) -> mk_nuapp ?flag op e
| `Nnop (op, e, f, l) -> mk_nnapp ?flag op e f l
| `Ncst _ -> raise (Untranslatable ("Cast operation", flag))
| `Luop _
| `Lbop _
| `Lsop _ -> raise (Untranslatable ("Bitwise operation", flag))

View file

@ -71,7 +71,7 @@ AC_CHECK_OCAML_PKG([lablgtk2])
AC_MSG_WARN([Could not find 'lablgtk2'. The simulator will not be built])
fi
dnl version should be >= 0.11
dnl version should be >= 0.14
AC_CHECK_OCAML_PKG([reatk.ctrlNbac])
if test "${OCAML_PKG_reatk_ctrlNbac}" = "no"; then
package_reatk_ctrlNbac="ocaml"; #dummy flag