fix conditional

This commit is contained in:
Jeremie Dimino 2016-08-15 10:06:33 +01:00
parent d888ee5ba9
commit f630fa0afc
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ let parse_default parse str eos_is_error =
Error ([mkloc loc], Error ([mkloc loc],
Printf.sprintf "Error: broken invariant in parsetree: %s" s) Printf.sprintf "Error: broken invariant in parsetree: %s" s)
#endif #endif
#if OCAML_VERSION >= (4, 04, 0) #if OCAML_VERSION >= (4, 03, 0)
| Syntaxerr.Invalid_package_type (loc, s) -> | Syntaxerr.Invalid_package_type (loc, s) ->
Error ([mkloc loc], Error ([mkloc loc],
Printf.sprintf "Invalid package type: %s" s) Printf.sprintf "Invalid package type: %s" s)