|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63390 - trunk/tools/inspect
From: daniel_james_at_[hidden]
Date: 2010-06-27 12:40:04
Author: danieljames
Date: 2010-06-27 12:40:03 EDT (Sun, 27 Jun 2010)
New Revision: 63390
URL: http://svn.boost.org/trac/boost/changeset/63390
Log:
Check for undefined apple macros.
Text files modified:
trunk/tools/inspect/apple_macro_check.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/tools/inspect/apple_macro_check.cpp
==============================================================================
--- trunk/tools/inspect/apple_macro_check.cpp (original)
+++ trunk/tools/inspect/apple_macro_check.cpp 2010-06-27 12:40:03 EDT (Sun, 27 Jun 2010)
@@ -17,7 +17,7 @@
boost::regex apple_macro_regex(
"("
"^\\s*#\\s*undef\\s*" // # undef
- "\\b(min|max)\\b" // followed by min or max, whole word
+ "\\b(check|verify|require|check_error)\\b" // followed by apple macro name, whole word
")"
"|" // or (ignored)
"("
@@ -29,7 +29,7 @@
")"
"|" // or
"("
- "\\b(check|verify|require|check_error)\\b" // min or max, whole word
+ "\\b(check|verify|require|check_error)\\b" // apple macro name, whole word
"\\s*\\(" // followed by 0 or more spaces and an opening paren
")"
, boost::regex::normal);
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk