summaryrefslogtreecommitdiff
path: root/driver/optcompile.ml
diff options
context:
space:
mode:
authorGabriel Scherer <gabriel.scherer@gmail.com>2014-12-21 12:18:10 +0000
committerGabriel Scherer <gabriel.scherer@gmail.com>2014-12-21 12:18:10 +0000
commitf256b3733d741153cea343110c58bb7102d1589c (patch)
tree8ff016339a1dbc236f567e98e79ee083ee2159f5 /driver/optcompile.ml
parent1d8e590c54dcd888503c3ea2944533255ef87343 (diff)
downloadocaml-f256b3733d741153cea343110c58bb7102d1589c.tar.gz
minor: cut too-long lines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15735 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'driver/optcompile.ml')
-rw-r--r--driver/optcompile.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/driver/optcompile.ml b/driver/optcompile.ml
index 9a0f703f2b..7ce3d86870 100644
--- a/driver/optcompile.ml
+++ b/driver/optcompile.ml
@@ -100,4 +100,5 @@ let implementation ppf sourcefile outputprefix =
raise x
let c_file name =
- if Ccomp.compile_file ~output_name:!Clflags.output_name name <> 0 then exit 2
+ let output_name = !Clflags.output_name in
+ if Ccomp.compile_file ~output_name name <> 0 then exit 2