fix conditional
This commit is contained in:
parent
d888ee5ba9
commit
f630fa0afc
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue