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
Dóra Kocsis
dynare
Commits
5031f9ef
Commit
5031f9ef
authored
Dec 02, 2013
by
Sébastien Villemot
Browse files
Cleanup more preprocessor-generated files at each run
parent
3d525c39
Changes
1
Hide whitespace changes
Inline
Side-by-side
preprocessor/ModFile.cc
View file @
5031f9ef
...
...
@@ -618,14 +618,16 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool no_log, b
<<
"end"
<<
endl
;
// Erase possible remnants of previous runs
string
dynfile
=
basename
+
"_dynamic.m"
;
unlink
(
dynfile
.
c_str
());
unlink
((
basename
+
"_dynamic.m"
).
c_str
());
unlink
((
basename
+
"_dynamic.cod"
).
c_str
());
unlink
((
basename
+
"_dynamic.bin"
).
c_str
());
string
statfile
=
basename
+
"_static.m"
;
unlink
(
statfile
.
c_str
());
unlink
((
basename
+
"_static.m"
).
c_str
());
unlink
((
basename
+
"_static.cod"
).
c_str
());
unlink
((
basename
+
"_static.bin"
).
c_str
());
string
steadystatefile
=
basename
+
"_steadystate2.m"
;
unlink
(
steadystatefile
.
c_str
());
unlink
((
basename
+
"_steadystate2.m"
).
c_str
())
;
unlink
(
(
basename
+
"_set_auxiliary_variables.m"
)
.
c_str
());
if
(
!
use_dll
)
{
...
...
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