summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-26 22:31:57 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-26 22:31:57 +0000
commit064ad3fc2458c72e1bd0429f1eefdb740dabdf34 (patch)
treeb91a692bba646b97d67e53f8e4a8209ce214c6d2 /bin
parent01d58580c8b0b7e466351abce527e592238d352e (diff)
downloadATCD-064ad3fc2458c72e1bd0429f1eefdb740dabdf34.tar.gz
*** empty log message ***
Diffstat (limited to 'bin')
-rwxr-xr-xbin/Hash_Map_Manager.pl4
-rwxr-xr-xbin/Hash_Map_Manager_Helper4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/Hash_Map_Manager.pl b/bin/Hash_Map_Manager.pl
index 6ba697d42b2..b8c16f394e8 100755
--- a/bin/Hash_Map_Manager.pl
+++ b/bin/Hash_Map_Manager.pl
@@ -99,14 +99,14 @@ while ($line = <>)
sub find_match
{
$key = $_[0].'\s*<\s*(.*)>\s*';
- if ($line =~ /$template_instantiation $key$end_of_template_instantiation$/)
+ if ($line =~ /$template_instantiation \s*$key$end_of_template_instantiation$/)
{
$match = 1;
$template_parameters = $1;
$instantiation = $template_instantiation;
$end_of_instantiation = $end_of_template_instantiation;
}
- elsif ($line =~ /$pragma_instantiation $key$end_of_pragma_instantiation$/)
+ elsif ($line =~ /$pragma_instantiation \s*$key$end_of_pragma_instantiation$/)
{
$match = 1;
$template_parameters = $1;
diff --git a/bin/Hash_Map_Manager_Helper b/bin/Hash_Map_Manager_Helper
index a203ee3688e..d5e7b01cee2 100755
--- a/bin/Hash_Map_Manager_Helper
+++ b/bin/Hash_Map_Manager_Helper
@@ -68,8 +68,8 @@
# are using the template instantiation provided in ACE for ACE_Hash
# and ACE_Equal_To, don't instantiate those templates.
-foreach file ( `find . -type f \( -name "*.i" -o -name "*.h" -o -name "*.cpp" \) -print | xargs grep -l "template class ACE_Hash_Map_Entry"` )
+foreach file ( `find . -type f \( -name "*.i" -o -name "*.h" -o -name "*.cpp" \) -print | xargs grep -l "template class ACE_Hash_Map_Manager"` )
echo Fixing template instantiations in $file
- perl $ACE_ROOT/bin/Hash_Map_Manager.perl $file > $file.new
+ perl $ACE_ROOT/bin/Hash_Map_Manager.pl $file > $file.new
mv $file.new $file
end