Commit 20b6a3df authored by MichelJuillard's avatar MichelJuillard
Browse files

allow modfile name without quotes

parent 8e7ab470
......@@ -16,6 +16,7 @@ include("dynare_table.jl")
export @dynare
macro dynare(modfilename, args...)
modfilename = string(modfilename)
if occursin(r"\.mod$", modfilename)
modname = modfilename[1:length(modfilename)-4]
else
......
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