diff options
Diffstat (limited to 'driver/optmain.ml')
-rw-r--r-- | driver/optmain.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/optmain.ml b/driver/optmain.ml index 45bdec244..9f973f2b1 100644 --- a/driver/optmain.ml +++ b/driver/optmain.ml @@ -201,7 +201,7 @@ let main () = end; exit 0 with x -> - Opterrors.report_error ppf x; - exit 2 + Location.report_exception ppf x; + exit 2 let _ = main () |