chiark / gitweb /
tests/filter/extract-doctests: Improve an error message
[subdirmk.git] / tests / filter / extract-doctests
index d16aa6cfbee296073d3a5be0b0758d0faad67257..a617b85789df29e9238124914b8720d253daa9c3 100755 (executable)
@@ -64,7 +64,7 @@ while (<>) {
            $e->{Out} .= ' '.$&;
        } elsif (m/^$/) {
        } else {
-           confess "unk rhs $_ ?";
+           confess "unk rhs $_ (In=\"$e->{In}\" out=\"$e->{Out}\"?";
        }
        $e->{CQ} = $in_changequote;
        # adhoc: rely on this specific section title