X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fpragma%2Fsubs.t;h=6ebbf78a465cd9721eb821e770318bdcc6c8b5d6;hb=284102e897f98dc140b5c4416caadc04d1261661;hp=056c4bd7cf4905b4240735a07d4018e41b51ccbd;hpb=68dc074516a6859e3424b48d1647bcb08b1a1a7d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/pragma/subs.t b/t/pragma/subs.t index 056c4bd..6ebbf78 100755 --- a/t/pragma/subs.t +++ b/t/pragma/subs.t @@ -55,6 +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 'parse error' instead of 'syntax error', +# various yaccs may or may not capitalize 'syntax'. + $results =~ s/^(syntax|parse) error/syntax error/mig; $expected =~ s/\n+$//; my $prefix = ($results =~ s/^PREFIX\n//) ; if ( $results =~ s/^SKIPPED\n//) {