OCaml Forge
SCM

Detail: [#1070] another sed error, maybe Filename.chop_extension related ?

Bugs: Browse | Download .csv | Monitor

[#1070] another sed error, maybe Filename.chop_extension related ?

Date:
2011-12-14 18:06
Priority:
3
State:
Open
Submitted by:
Philippe STRAUSS (friendship7net)
Assigned to:
Nobody (None)
Hardware:
None
Resolution:
None
Severity:
normal
Version:
None
Component:
None
Operating System:
MacOS X
Product:
None
 
URL:
Summary:
another sed error, maybe Filename.chop_extension related ?

Detailed description
using this build script :

#!/bin/sh
ocamlfind ocamlc -package oclosure,js_of_ocaml.syntax -syntax camlp4o -linkpkg $1.ml -o $1.byte
js_of_ocaml $1.byte -pretty
oclosure_req $1.js

philou@air:~/Sites/mlsheets$ ./mko.sh test_dialog
/opt/godi312/lib/ocaml/site-lib/oclosure/closure/bin/build/closurebuilder.py: Scanning paths...
/opt/godi312/lib/ocaml/site-lib/oclosure/closure/bin/build/closurebuilder.py: 725 sources scanned.
/opt/godi312/lib/ocaml/site-lib/oclosure/closure/bin/build/closurebuilder.py: Building dependency tree..
sed: 1: "test_dialog_oclosure.js": undefined label 'est_dialog_oclosure.js'

there is a missing first character in the filename.
files are generated, but fails, this one with :

_A_ is null
[Stopper sur une erreur] function _C_(_A_,_B_){_A_.appendChild(_B_);return 0;}

line 268 of test_dialog.js :

_t_[1]=
[0,
function(_x_)
{return _x_ instanceof _w_?0:[0,new MlWrappedString(_x_.toString())];},
_t_[1]];
function _C_(_A_,_B_){_A_.appendChild(_B_);return 0;} <<<--- here
var _D_=window.document,_I_=caml_js_on_ie(0)|0;
function _H_(_E_,_F_){return _E_?_G_(_F_,_E_[1]):0;}
function _L_(_K_,_J_){return _K_.createElement(_J_.toString());}
window.HTMLElement===_v_;

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item