From f913188991cb6946d02acb978d6911345340299c Mon Sep 17 00:00:00 2001 From: Adam- Date: Sat, 5 Dec 2009 06:11:23 +0000 Subject: Added ci::string to run-cc.pl message filters, and fixed irc::string to display properly aswell git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2686 5417fbe8-f217-4b02-8779-1006273d7864 --- run-cc.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run-cc.pl b/run-cc.pl index e7311c398..fe28dee10 100755 --- a/run-cc.pl +++ b/run-cc.pl @@ -92,7 +92,8 @@ my @msgfilters = ( $msg = $location . $msg; $location = ""; $msg =~ s/std::basic_string\, std::allocator\ \>(\s+|)/std::string/g; - $msg =~ s/std::basic_string\, std::allocator\ \>(\s+|)/irc::string/g; + $msg =~ s/std::basic_string\ \>(\s+|)/irc::string/g; + $msg =~ s/std::basic_string\ \>(\s+|)/ci::string/g; for my $stl (qw(deque vector list)) { $msg =~ s/std::$stl\<(\S+), std::allocator\<\1\> \>/std::$stl\<$1\>/g; $msg =~ s/std::$stl\<(std::pair\<\S+, \S+\>), std::allocator\<\1 \> \>/std::$stl<$1 >/g; @@ -103,6 +104,7 @@ my @msgfilters = ( $msg =~ s/__gnu_cxx::__normal_iterator\<(std::pair\<\S+, \S+\>)\*, std::vector\<\1 \> \>/std::vector<$1 >::iterator/g; $msg =~ s/__gnu_cxx::__normal_iterator\/std::string::iterator/g; $msg =~ s/__gnu_cxx::__normal_iterator\/irc::string::iterator/g; + $msg =~ s/__gnu_cxx::__normal_iterator\/ci::string::iterator/g; return $msg; } ], ); -- cgit