Commit cc29c204 authored by MichelJuillard's avatar MichelJuillard
Browse files

fixing nocompile option

parent f1aff68a
Pipeline #5205 passed with stage
in 3 minutes and 43 seconds
......@@ -43,13 +43,15 @@ macro dynare(modfilename, args...)
modname = modfilename
end
options = CommandLineOptions()
arglist = []
for (i, a) in enumerate(args)
if a == "nocompile"
if a == :nocompile
options.compilemodule = false
deleteat!(args, i)
else
push!(arglist, a)
end
end
dynare_preprocess(modname*".mod", args)
dynare_preprocess(modname*".mod", arglist)
context = parser(modname, options)
return context
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment