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

master
Nicolas Berthier 6 years ago
parent 8872bb3998
commit 7abe92dc0d

@ -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))

@ -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

Loading…
Cancel
Save