Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stéphane Adjemian
dynare
Commits
b62e300f
Commit
b62e300f
authored
Apr 20, 2014
by
MichelJuillard
Browse files
Options
Downloads
Patches
Plain Diff
fixing bugs in commit 182c27f
parent
35831c5c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
preprocessor/DynareMain.cc
+2
-2
2 additions, 2 deletions
preprocessor/DynareMain.cc
preprocessor/DynareMain2.cc
+2
-2
2 additions, 2 deletions
preprocessor/DynareMain2.cc
with
4 additions
and
4 deletions
preprocessor/DynareMain.cc
+
2
−
2
View file @
b62e300f
...
@@ -215,7 +215,7 @@ main(int argc, char **argv)
...
@@ -215,7 +215,7 @@ main(int argc, char **argv)
}
}
else
if
(
strlen
(
argv
[
arg
])
>=
8
&&
!
strncmp
(
argv
[
arg
],
"language"
,
8
))
else
if
(
strlen
(
argv
[
arg
])
>=
8
&&
!
strncmp
(
argv
[
arg
],
"language"
,
8
))
{
{
if
(
strlen
(
argv
[
arg
])
<=
9
||
argv
[
arg
][
6
]
!=
'='
)
if
(
strlen
(
argv
[
arg
])
<=
9
||
argv
[
arg
][
8
]
!=
'='
)
{
{
cerr
<<
"Incorrect syntax for language option"
<<
endl
;
cerr
<<
"Incorrect syntax for language option"
<<
endl
;
usage
();
usage
();
...
@@ -234,7 +234,7 @@ main(int argc, char **argv)
...
@@ -234,7 +234,7 @@ main(int argc, char **argv)
language
=
python
;
language
=
python
;
else
else
{
{
cerr
<<
"Incorrect syntax for
ouput
option"
<<
endl
;
cerr
<<
"Incorrect syntax for
language
option"
<<
endl
;
usage
();
usage
();
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
preprocessor/DynareMain2.cc
+
2
−
2
View file @
b62e300f
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
void
void
main2
(
stringstream
&
in
,
string
&
basename
,
bool
debug
,
bool
clear_all
,
bool
no_tmp_terms
,
bool
no_log
,
bool
no_warn
,
bool
warn_uninit
,
bool
console
,
bool
nograph
,
bool
nointeractive
,
main2
(
stringstream
&
in
,
string
&
basename
,
bool
debug
,
bool
clear_all
,
bool
no_tmp_terms
,
bool
no_log
,
bool
no_warn
,
bool
warn_uninit
,
bool
console
,
bool
nograph
,
bool
nointeractive
,
bool
parallel
,
const
string
&
parallel_config_file
,
const
string
&
cluster_name
,
bool
parallel_slave_open_mode
,
bool
parallel
,
const
string
&
parallel_config_file
,
const
string
&
cluster_name
,
bool
parallel_slave_open_mode
,
bool
parallel_test
,
bool
nostrict
,
FileOutputType
output_mode
,
LanguageOutputType
lang
bool
parallel_test
,
bool
nostrict
,
FileOutputType
output_mode
,
LanguageOutputType
lang
uage
#if defined(_WIN32) || defined(__CYGWIN32__)
#if defined(_WIN32) || defined(__CYGWIN32__)
,
bool
cygwin
,
bool
msvc
,
bool
cygwin
,
bool
msvc
#endif
#endif
...
@@ -58,7 +58,7 @@ main2(stringstream &in, string &basename, bool debug, bool clear_all, bool no_tm
...
@@ -58,7 +58,7 @@ main2(stringstream &in, string &basename, bool debug, bool clear_all, bool no_tm
// Write outputs
// Write outputs
if
(
output_mode
!=
none
)
if
(
output_mode
!=
none
)
mod_file
->
writeExternalFiles
(
basename
,
output_mode
,
cuda
);
mod_file
->
writeExternalFiles
(
basename
,
output_mode
,
language
);
else
else
mod_file
->
writeOutputFiles
(
basename
,
clear_all
,
no_log
,
no_warn
,
console
,
nograph
,
nointeractive
,
config_file
mod_file
->
writeOutputFiles
(
basename
,
clear_all
,
no_log
,
no_warn
,
console
,
nograph
,
nointeractive
,
config_file
#if defined(_WIN32) || defined(__CYGWIN32__)
#if defined(_WIN32) || defined(__CYGWIN32__)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment