This solves the crash if missing .nit_compile problem.
Signed-off-by: Jean Privat <jean@pryen.org>
# Note that we do not try to be clever an a small change in a Nit source file may change the content of all the generated .c files
var time0 = get_time
+ ".nit_compile".mkdir
+
var outname = self.toolcontext.opt_output.value
if outname == null then
outname = "{mainmodule.name}.bin"
var file: nullable OFStream = null
var count = 0
- ".nit_compile".mkdir
var i = 0
for vis in compiler.visitors do
count += vis.lines.length