From b68be568be0f1d2e022c13a8c0e205c68d645503 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Wed, 9 Jul 2003 12:13:39 -0500 Subject: [svn-r7187] Purpose: Update code Description: Allow there to be no ';' after a FUNC_ENTER* macro Platforms tested: FreeBSD 4.8 (sleipnir) Linux 2.4 (verbena) --- bin/trace | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/trace b/bin/trace index 5893505..bad190c 100755 --- a/bin/trace +++ b/bin/trace @@ -226,7 +226,7 @@ sub rewrite_func ($$$$$) { } } elsif ($body =~ s/((\n[ \t]*)H5TRACE\d+\s*\(.*?\);)\n/"$2$trace"/es) { # Replaced an H5TRACE macro - } elsif ($body=~s/((\n[ \t]*)FUNC_ENTER\w*\s*\(.*?\);)\n/"$1$2$trace"/es) { + } elsif ($body=~s/((\n[ \t]*)FUNC_ENTER\w*\s*\(.*?\)[;])\n/"$1$2$trace"/es) { # Added an H5TRACE macro after a FUNC_ENTER macro. } else { errmesg $file, $name, "unable to insert tracing information"; -- cgit v0.12