removed uneccessary local variable
@@ -39,7 +39,6 @@ p:option("-o --output", "Output file path.")
local args = p:parse()
local opt_level = args.O
-local output_file = args.output
-- For compilation errors that don't happen inside a source file.
-- Inspired by gcc, eg. "gcc: fatal error: no input files".
@@ -47,7 +46,7 @@ local compiler_name = arg[0]
local function compile(in_ext, out_ext)
local ok, errs = driver.compile(compiler_name, in_ext, out_ext, args.source_file, opt_level,
- output_file)
+ args.output)
if not ok then util.abort(table.concat(errs, "\n")) end
end
