Skip to content

Commit 21b09a8

Browse files
committed
[snapshot]
1 parent 6d81570 commit 21b09a8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

jscomp/bin/compiler.ml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[@@@warning "-a"]
22
[@@@ocaml.doc
33
"\n BuckleScript compiler\n Copyright (C) 2015-2016 Bloomberg Finance L.P.\n\n This program is free software; you can redistribute it and/or modify\n it under the terms of the GNU Lesser General Public License as published by\n the Free Software Foundation, with linking exception;\n either version 2.1 of the License, or (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public License\n along with this program; if not, write to the Free Software\n Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n\n\n Author: Hongbo Zhang \n\n"]
4-
[@@@ocaml.doc "04/27-16:55"]
4+
[@@@ocaml.doc "04/28-22:26"]
55
include
66
struct
77
module Literals :
@@ -6351,7 +6351,8 @@ include
63516351
failwith
63526352
("cmj files have incompatible versions, please rebuilt using the new compiler : "
63536353
^ __LOC__)
6354-
else (input_value ic : cmj_table) : cmj_table)
6354+
else (let v: cmj_table = input_value ic in close_in ic; v) :
6355+
cmj_table)
63556356
let from_string s =
63566357
(let magic_number = String.sub s 0 cmj_magic_number_length in
63576358
if magic_number = cmj_magic_number

0 commit comments

Comments
 (0)