summaryrefslogtreecommitdiff
path: root/t/op/misc.t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-10-28 08:44:49 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1998-10-28 08:44:49 +0000
commitf0ec1f9abfb9cd61b0c90f06c7dc6e2bb4182791 (patch)
tree45f68d56104fade99c6b9042fa9a5f9db68d3ce8 /t/op/misc.t
parente4bfbdd4cf36fcf1ea2228af44bc998aab31c751 (diff)
downloadperl-f0ec1f9abfb9cd61b0c90f06c7dc6e2bb4182791.tar.gz
Bison says 'parse error', not 'parser error'.
p4raw-id: //depot/cfgperl@2106
Diffstat (limited to 't/op/misc.t')
-rwxr-xr-xt/op/misc.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/op/misc.t b/t/op/misc.t
index f8bc215737..6815f82911 100755
--- a/t/op/misc.t
+++ b/t/op/misc.t
@@ -36,9 +36,9 @@ for (@prgs){
$status = $?;
$results = `$CAT $tmpfile`;
$results =~ s/\n+$//;
-# bison says 'parser error' instead of 'syntax error',
+# bison says 'parse error' instead of 'syntax error',
# various yaccs may or may not capitalize 'syntax'.
- $results =~ s/^(syntax|parser) error/\L$1 error/mi;
+ $results =~ s/^(syntax|parse) error/\L$1 error/mi;
$expected =~ s/\n+$//;
if ( $results ne $expected){
print STDERR "PROG: $switch\n$prog\n";