XXX temp changes to perltest
diff --git a/perltest.sh b/perltest.sh
index 65031ce..36c7c01 100755
--- a/perltest.sh
+++ b/perltest.sh
@@ -370,7 +370,14 @@
eval "\$_ =~ ${pattern}";
if ($@)
{
- printf $outfile "Error: $@";
+ if ($@ =~ /marked by <-- HERE in m\/(.*?) <-- HERE/s)
+ {
+ printf $outfile "Failed: error XXX at offset %d: XXX\n", length($1);
+ }
+ else
+ {
+ printf $outfile "Error: $@";
+ }
if (! $interact)
{
for (;;)
@@ -378,6 +385,7 @@
last if ! ($_ = <$infile>);
last if $_ =~ /^\s*$/;
}
+ printf $outfile "$_";
}
next NEXT_RE;
}