Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit f913188991cb6946d02acb978d6911345340299c 1 parent eadf52c
authored December 05, 2009

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  run-cc.pl
4  run-cc.pl
@@ -92,7 +92,8 @@
92 92
 		$msg = $location . $msg;
93 93
 		$location = "";
94 94
 		$msg =~ s/std::basic_string\<char\, std\:\:char_traits\<char\>, std::allocator\<char\> \>(\s+|)/std::string/g;
95  
-		$msg =~ s/std::basic_string\<char\, .*?irc_char_traits\<char\>, std::allocator\<char\> \>(\s+|)/irc::string/g;
  95
+		$msg =~ s/std::basic_string\<char\, .*?irc_char_traits, std::allocator\<char\> \>(\s+|)/irc::string/g;
  96
+		$msg =~ s/std::basic_string\<char\, .*?ci_char_traits, std::allocator\<char\> \>(\s+|)/ci::string/g;
96 97
 		for my $stl (qw(deque vector list)) {
97 98
 			$msg =~ s/std::$stl\<(\S+), std::allocator\<\1\> \>/std::$stl\<$1\>/g;
98 99
 			$msg =~ s/std::$stl\<(std::pair\<\S+, \S+\>), std::allocator\<\1 \> \>/std::$stl<$1 >/g;
@@ -103,6 +104,7 @@
103 104
 		$msg =~ s/__gnu_cxx::__normal_iterator\<(std::pair\<\S+, \S+\>)\*, std::vector\<\1 \> \>/std::vector<$1 >::iterator/g;
104 105
 		$msg =~ s/__gnu_cxx::__normal_iterator\<char\*, std::string\>/std::string::iterator/g;
105 106
 		$msg =~ s/__gnu_cxx::__normal_iterator\<char\*, irc::string\>/irc::string::iterator/g;
  107
+		$msg =~ s/__gnu_cxx::__normal_iterator\<char\*, ci::string\>/ci::string::iterator/g;
106 108
 		return $msg;
107 109
 	} ],
108 110
 );

0 notes on commit f913188

Please sign in to comment.
Something went wrong with that request. Please try again.