summaryrefslogtreecommitdiff
path: root/test/errchk
diff options
context:
space:
mode:
Diffstat (limited to 'test/errchk')
-rwxr-xr-xtest/errchk4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/errchk b/test/errchk
index 115aa7be0..ab7192da2 100755
--- a/test/errchk
+++ b/test/errchk
@@ -60,8 +60,8 @@ sub bug() {
$line = 0;
foreach $src (@src) {
$line++;
- next unless $src =~ m|// ERROR (.*)|;
- $regexp = $1;
+ next unless $src =~ m|// (GC_)?ERROR (.*)|;
+ $regexp = $2;
if($regexp !~ /^"([^"]*)"/) {
print STDERR "$file:$line: malformed regexp\n";
next;