formatting

This commit is contained in:
Dave Schuyler 2003-09-29 21:07:19 +00:00
parent 5b570da445
commit d8fa33fe0b
2 changed files with 11 additions and 7 deletions

View File

@ -1500,7 +1500,9 @@ handle_defer_command() {
def = _scope->expand_self_reference(def, varname);
_scope->define_variable(varname, def);
if (verbose>=2) cerr<<"#defer "<<varname<<" = "<<_params.substr(p)<<endl;
if (verbose>=2) {
cerr<<"#defer "<<varname<<" = "<<_params.substr(p)<<endl;
}
return true;
}
@ -1530,7 +1532,9 @@ handle_define_command() {
string def = _scope->expand_string(_params.substr(p));
_scope->define_variable(varname, def);
if (verbose>=2) cerr<<"#define "<<varname<<" = "<<_params.substr(p)<<"\n \""<<def<<"\""<<endl;
if (verbose>=2) {
cerr<<"#define "<<varname<<" = "<<_params.substr(p)<<"\n \""<<def<<"\""<<endl;
}
return true;
}

View File

@ -11,15 +11,15 @@
#include "sedProcess.h"
#ifdef HAVE_GETOPT
#ifdef HAVE_GETOPT_H
#include <getopt.h>
#endif // HAVE_GETOPT_H
#ifdef HAVE_GETOPT_H
#include <getopt.h>
#endif // HAVE_GETOPT_H
#else
#include "gnu_getopt.h"
#include "gnu_getopt.h"
#endif // HAVE_GETOPT
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#include <unistd.h>
#endif
#include <set>