[PPL-devel] [GIT] ppl/ppl(master): Properly match #endif's directives using comments.

Enea Zaffanella zaffanella at cs.unipr.it
Fri May 18 09:08:24 CEST 2012


Module: ppl/ppl
Branch: master
Commit: 300c3a4bea8c72fdd218dba212553ae74779c116
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=300c3a4bea8c72fdd218dba212553ae74779c116

Author: Enea Zaffanella <zaffanella at cs.unipr.it>
Date:   Fri May 18 09:03:50 2012 +0200

Properly match #endif's directives using comments.

---

 tests/ppl_test.hh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/ppl_test.hh b/tests/ppl_test.hh
index b91361c..1eacfa6 100644
--- a/tests/ppl_test.hh
+++ b/tests/ppl_test.hh
@@ -371,7 +371,7 @@ check_noisy(const char*
     return true;
 #endif
   return false;
-#endif
+#endif // !PPL_HAVE_DECL_GETENV
 }
 
 template<typename CharT, typename Traits = std::char_traits<CharT> >
@@ -493,8 +493,8 @@ typedef BD_Shape<ANALYZER_FP_FORMAT> FP_BD_Shape;
   floating point computations.
 */
 typedef Octagonal_Shape<ANALYZER_FP_FORMAT> FP_Octagonal_Shape;
-#endif
-#endif
+#endif // ANALYZED_FP_FORMAT
+#endif // ANALYZER_FP_FORMAT
 
 template <typename Shape>
 inline bool




More information about the PPL-devel mailing list