Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dynare
preprocessor
Commits
08caaa07
Verified
Commit
08caaa07
authored
Oct 30, 2018
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/SymbolTable.cc
View file @
08caaa07
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment