fix debug -J option
This commit is contained in:
parent
39cc1da707
commit
9dc7c12448
1 changed files with 5 additions and 4 deletions
|
|
@ -221,6 +221,11 @@ int main(int argc, char* argv[])
|
||||||
if(options["unset-var"])
|
if(options["unset-var"])
|
||||||
add_unset_variables( sh, re_var_exclude );
|
add_unset_variables( sh, re_var_exclude );
|
||||||
|
|
||||||
|
|
||||||
|
if(options['P']) {
|
||||||
|
std::ofstream(options['P'].argument) << gen_minmap(varmap, "var") << gen_minmap(fctmap, "fct");
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef DEBUG_MODE
|
#ifdef DEBUG_MODE
|
||||||
if(options['J'])
|
if(options['J'])
|
||||||
{
|
{
|
||||||
|
|
@ -229,10 +234,6 @@ int main(int argc, char* argv[])
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(options['P']) {
|
|
||||||
std::ofstream(options['P'].argument) << gen_minmap(varmap, "var") << gen_minmap(fctmap, "fct");
|
|
||||||
}
|
|
||||||
|
|
||||||
if(options['o']) // file output
|
if(options['o']) // file output
|
||||||
{
|
{
|
||||||
std::string destfile=options['o'];
|
std::string destfile=options['o'];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue