backslashes not used in escape sequences are not allowed in strings in Julia v1.0
See: https://github.com/JuliaLang/julia/issues/21284issue#70
parent
b337a5aec0
commit
08caaa0744
|
@ -1080,7 +1080,7 @@ SymbolTable::writeJuliaOutput(ostream &output) const noexcept(false)
|
||||||
if (endo_nbr() > 0)
|
if (endo_nbr() > 0)
|
||||||
for (int id = 0; id < endo_nbr(); id++)
|
for (int id = 0; id < endo_nbr(); id++)
|
||||||
output << " DynareModel.Endo(\""
|
output << " DynareModel.Endo(\""
|
||||||
<< getName(endo_ids[id]) << "\", \""
|
<< getName(endo_ids[id]) << "\", raw\""
|
||||||
<< getTeXName(endo_ids[id]) << "\", \""
|
<< getTeXName(endo_ids[id]) << "\", \""
|
||||||
<< getLongName(endo_ids[id]) << "\")" << endl;
|
<< getLongName(endo_ids[id]) << "\")" << endl;
|
||||||
output << " ]" << endl;
|
output << " ]" << endl;
|
||||||
|
@ -1091,7 +1091,7 @@ SymbolTable::writeJuliaOutput(ostream &output) const noexcept(false)
|
||||||
if (exo_nbr() > 0)
|
if (exo_nbr() > 0)
|
||||||
for (int id = 0; id < exo_nbr(); id++)
|
for (int id = 0; id < exo_nbr(); id++)
|
||||||
output << " DynareModel.Exo(\""
|
output << " DynareModel.Exo(\""
|
||||||
<< getName(exo_ids[id]) << "\", \""
|
<< getName(exo_ids[id]) << "\", raw\""
|
||||||
<< getTeXName(exo_ids[id]) << "\", \""
|
<< getTeXName(exo_ids[id]) << "\", \""
|
||||||
<< getLongName(exo_ids[id]) << "\")" << endl;
|
<< getLongName(exo_ids[id]) << "\")" << endl;
|
||||||
output << " ]" << endl;
|
output << " ]" << endl;
|
||||||
|
@ -1104,7 +1104,7 @@ SymbolTable::writeJuliaOutput(ostream &output) const noexcept(false)
|
||||||
if (exo_det_nbr() > 0)
|
if (exo_det_nbr() > 0)
|
||||||
for (int id = 0; id < exo_det_nbr(); id++)
|
for (int id = 0; id < exo_det_nbr(); id++)
|
||||||
output << " DynareModel.ExoDet(\""
|
output << " DynareModel.ExoDet(\""
|
||||||
<< getName(exo_det_ids[id]) << "\", \""
|
<< getName(exo_det_ids[id]) << "\", raw\""
|
||||||
<< getTeXName(exo_det_ids[id]) << "\", \""
|
<< getTeXName(exo_det_ids[id]) << "\", \""
|
||||||
<< getLongName(exo_det_ids[id]) << "\")" << endl;
|
<< getLongName(exo_det_ids[id]) << "\")" << endl;
|
||||||
output << " ]" << endl;
|
output << " ]" << endl;
|
||||||
|
@ -1116,7 +1116,7 @@ SymbolTable::writeJuliaOutput(ostream &output) const noexcept(false)
|
||||||
if (param_nbr() > 0)
|
if (param_nbr() > 0)
|
||||||
for (int id = 0; id < param_nbr(); id++)
|
for (int id = 0; id < param_nbr(); id++)
|
||||||
output << " DynareModel.Param(\""
|
output << " DynareModel.Param(\""
|
||||||
<< getName(param_ids[id]) << "\", \""
|
<< getName(param_ids[id]) << "\", raw\""
|
||||||
<< getTeXName(param_ids[id]) << "\", \""
|
<< getTeXName(param_ids[id]) << "\", \""
|
||||||
<< getLongName(param_ids[id]) << "\")" << endl;
|
<< getLongName(param_ids[id]) << "\")" << endl;
|
||||||
output << " ]" << endl;
|
output << " ]" << endl;
|
||||||
|
|
Loading…
Reference in New Issue