summaryrefslogtreecommitdiff
path: root/t/pragma
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/pragma
parente4bfbdd4cf36fcf1ea2228af44bc998aab31c751 (diff)
downloadperl-f0ec1f9abfb9cd61b0c90f06c7dc6e2bb4182791.tar.gz
Bison says 'parse error', not 'parser error'.
p4raw-id: //depot/cfgperl@2106
Diffstat (limited to 't/pragma')
-rwxr-xr-xt/pragma/subs.t4
-rwxr-xr-xt/pragma/warning.t4
2 files changed, 4 insertions, 4 deletions
diff --git a/t/pragma/subs.t b/t/pragma/subs.t
index dc272f6b25..ae208572f3 100755
--- a/t/pragma/subs.t
+++ b/t/pragma/subs.t
@@ -55,9 +55,9 @@ for (@prgs){
# allow expected output to be written as if $prog is on STDIN
$results =~ s/tmp\d+/-/g;
$results =~ s/\n%[A-Z]+-[SIWEF]-.*$// if $Is_VMS; # clip off DCL status msg
-# 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+$//;
my $prefix = ($results =~ s/^PREFIX\n//) ;
if ( $results =~ s/^SKIPPED\n//) {
diff --git a/t/pragma/warning.t b/t/pragma/warning.t
index 598079ee84..e6c37fd069 100755
--- a/t/pragma/warning.t
+++ b/t/pragma/warning.t
@@ -85,9 +85,9 @@ for (@prgs){
# allow expected output to be written as if $prog is on STDIN
$results =~ s/tmp\d+/-/g;
$results =~ s/\n%[A-Z]+-[SIWEF]-.*$// if $Is_VMS; # clip off DCL status msg
-# 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+$//;
my $prefix = ($results =~ s/^PREFIX\n//) ;
# any special options? (OPTIONS foo bar zap)