summaryrefslogtreecommitdiff
path: root/t/comp/require.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/comp/require.t
parente4bfbdd4cf36fcf1ea2228af44bc998aab31c751 (diff)
downloadperl-f0ec1f9abfb9cd61b0c90f06c7dc6e2bb4182791.tar.gz
Bison says 'parse error', not 'parser error'.
p4raw-id: //depot/cfgperl@2106
Diffstat (limited to 't/comp/require.t')
-rwxr-xr-xt/comp/require.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/comp/require.t b/t/comp/require.t
index 0f3b97f2ba..5c41f5ccec 100755
--- a/t/comp/require.t
+++ b/t/comp/require.t
@@ -35,9 +35,9 @@ print "ok ",$i++,"\n";
# compile-time failure in require
do_require "1)\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'.
-print "# $@\nnot " unless $@ =~ /(syntax|parser) error/mi;
+print "# $@\nnot " unless $@ =~ /(syntax|parse) error/mi;
print "ok ",$i++,"\n";
# successful require