Commit 45942b24 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

stop dynare.m if onlymacro is passed, closes #487

parent e0439669
......@@ -108,6 +108,10 @@ end
[status, result] = system(command);
if ismember('onlymacro', varargin)
disp('Preprocesser stopped after macroprocessing step because of ''onlymacro'' option.');
% post-dynare-prerocessor-hook
if exist([fname(1:end-4) '_post_dynare_preprocessor_hook.m'],'file')
Supports Markdown
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