Hi again !

I don't have a clue to what happend...
In nekoml/Main.nml I changed this :
function compile(ctx,m,e) {
        if *verbose then printf "Compiling4\n";
        var path, deps, idents = module_infos m;
        var file = Nekoml.Type.file_name path ".n";
        if *verbose then printf "Compiling2 %s\n" file;
        var code = Neko.Compile.compile (Nekoml.Neko.generate ctx e deps idents 
path);
        var ch = IO.write_file file true;
        Neko.Bytecode.write ch code;
        IO.close_out ch
}


not quite impresive change though ! lol

but when compiling it gives me that :
Typing nekoml.Main.compile
nekoml/Main.nml(48): Cannot unify void -> void and void
make: *** [compiler] Erreur 255


48 is the line where we can see :
        if *verbose then printf "Compiling4\n";

the line that I added to the script.
Even a sole "printf" without the "if" gives me the same error.
I dont understand why a printf thats working 3 lines below won't work here.

help !

regards
Yo

--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to