Browse Source

formatting

Dave Schuyler 22 years ago
parent
commit
d8fa33fe0b
2 changed files with 11 additions and 7 deletions
  1. 6 2
      ppremake/ppCommandFile.cxx
  2. 5 5
      ppremake/ppremake.cxx

+ 6 - 2
ppremake/ppCommandFile.cxx

@@ -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;
 }
 

+ 5 - 5
ppremake/ppremake.cxx

@@ -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>