if (c.type == "comment1") {
ret += "//" + c.value + "\n";
} else {
- ret += "/*" + c.value + "*/";
+ ret += "/*" + c.value + "*/\n";
}
}
return ret;
});
if (options.ast)
return sys.inspect(ast, null, null);
- result += time_it("generate", function(){ return pro.gen_code(ast, options.beautify && options.beautify_options) });
+ result += time_it("generate", function(){ return pro.gen_code(ast, options.beautify && options.beautify_options) }) + ";";
return result;
} catch(ex) {
sys.debug(ex.stack);