Commit c333e050 authored by MichelJuillard's avatar MichelJuillard
Browse files

uodate parser

parent 9bacc9f1
...@@ -110,6 +110,8 @@ function parse_statements!(statements) ...@@ -110,6 +110,8 @@ function parse_statements!(statements)
for field in statements for field in statements
if field["statementName"] == "calib_smoother" if field["statementName"] == "calib_smoother"
calib_smoother!(context, field) calib_smoother!(context, field)
elseif field["statementName"] == "check"
check!(context, field)
elseif field["statementName"] == "deterministic_trends" elseif field["statementName"] == "deterministic_trends"
deterministic_trends!(context, field) deterministic_trends!(context, field)
elseif field["statementName"] == "histval" elseif field["statementName"] == "histval"
...@@ -134,7 +136,7 @@ function parse_statements!(statements) ...@@ -134,7 +136,7 @@ function parse_statements!(statements)
elseif field["statementName"] == "stoch_simul" elseif field["statementName"] == "stoch_simul"
stoch_simul!(context, field) stoch_simul!(context, field)
elseif field["statementName"] == "verbatim" elseif field["statementName"] == "verbatim"
verbatim!(context, field) Nothing
else else
error("""Unrecognized statement $(field["statementName"])""") error("""Unrecognized statement $(field["statementName"])""")
end 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