chiark
/
gitweb
/
~ian
/
subdirmk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: Test &TARGETS feature
[subdirmk.git]
/
tests
/
filter
/
extract-doctest
diff --git
a/tests/filter/extract-doctest
b/tests/filter/extract-doctest
index 1bcd47318b03a220081b06d8b3406b4f266e6207..10dd42a3d8b5f5bc061551db40a4aed6ebbac9b1 100755
(executable)
--- a/
tests/filter/extract-doctest
+++ b/
tests/filter/extract-doctest
@@
-56,6
+56,9
@@
while (<>) {
$e->{OutTop} = $1 eq 'nothing' ? '' : $1;
} elsif (# parse: expect other wordish things to be comments
m{^(?!or\b)\w{2,} }) {
+ } elsif (m/^$/) {
+ } else {
+ confess "unk rhs $_ ?";
}
$e->{CQ} = $in_changequote;
} else {