$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r51224 - sandbox/tools/profile_templates
From: steven_at_[hidden]
Date: 2009-02-12 13:28:01
Author: steven_watanabe
Date: 2009-02-12 13:28:00 EST (Thu, 12 Feb 2009)
New Revision: 51224
URL: http://svn.boost.org/trac/boost/changeset/51224
Log:
Handle gcc __attribute__ syntax
Text files modified: 
   sandbox/tools/profile_templates/preprocess.pl |     2 +-                                      
   1 files changed, 1 insertions(+), 1 deletions(-)
Modified: sandbox/tools/profile_templates/preprocess.pl
==============================================================================
--- sandbox/tools/profile_templates/preprocess.pl	(original)
+++ sandbox/tools/profile_templates/preprocess.pl	2009-02-12 13:28:00 EST (Thu, 12 Feb 2009)
@@ -24,7 +24,7 @@
 
 $class_header = qr/(?>(?>\b(?:class|struct))(?>$ws+\w+)(?>(?>[^(){;=]|$parens|$ignored)*)\{)/;
 
-$control = qr/(?:\b(?:__if_exists|__if_not_exists|for|while|if|catch|switch)\b)/;
+$control = qr/(?:\b(?:__attribute__|__if_exists|__if_not_exists|for|while|if|catch|switch)\b)/;
 $modifiers = qr/(?:\b(?:try|const|volatile)\b)/;
 $start = qr/(?:^|\G|[{};])(?>$ws*)/;
 $body = qr/(?:(?!$control)(?>$ignored|[^{};]))/;