Verified Commit 08caaa07 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

backslashes not used in escape sequences are not allowed in strings in Julia v1.0

See: https://github.com/JuliaLang/julia/issues/21284
parent b337a5ae
Pipeline #263 passed with stage
in 1 minute and 43 seconds
......@@ -1080,7 +1080,7 @@ SymbolTable::writeJuliaOutput(ostream &output) const noexcept(false)
if (endo_nbr() > 0)
for (int id = 0; id < endo_nbr(); id++)
output << " DynareModel.Endo(\""
<< getName(endo_ids[id]) << "\", \""
<< getName(endo_ids[id]) << "\", raw\""
<< getTeXName(endo_ids[id]) << "\", \""
<< getLongName(endo_ids[id]) << "\")" << endl;
output << " ]" << endl;
......@@ -1091,7 +1091,7 @@ SymbolTable::writeJuliaOutput(ostream &output) const noexcept(false)
if (exo_nbr() > 0)
for (int id = 0; id < exo_nbr(); id++)
output << " DynareModel.Exo(\""
<< getName(exo_ids[id]) << "\", \""
<< getName(exo_ids[id]) << "\", raw\""
<< getTeXName(exo_ids[id]) << "\", \""
<< getLongName(exo_ids[id]) << "\")" << endl;
output << " ]" << endl;
......@@ -1104,7 +1104,7 @@ SymbolTable::writeJuliaOutput(ostream &output) const noexcept(false)
if (exo_det_nbr() > 0)
for (int id = 0; id < exo_det_nbr(); id++)
output << " DynareModel.ExoDet(\""
<< getName(exo_det_ids[id]) << "\", \""
<< getName(exo_det_ids[id]) << "\", raw\""
<< getTeXName(exo_det_ids[id]) << "\", \""
<< getLongName(exo_det_ids[id]) << "\")" << endl;
output << " ]" << endl;
......@@ -1116,7 +1116,7 @@ SymbolTable::writeJuliaOutput(ostream &output) const noexcept(false)
if (param_nbr() > 0)
for (int id = 0; id < param_nbr(); id++)
output << " DynareModel.Param(\""
<< getName(param_ids[id]) << "\", \""
<< getName(param_ids[id]) << "\", raw\""
<< getTeXName(param_ids[id]) << "\", \""
<< getLongName(param_ids[id]) << "\")" << endl;
output << " ]" << endl;
......
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