Here it is, attached.
I made it simple but clear enough to understand the whole line is dropped.
I've not actually used the trace system before, but it's definitely cool and
easy to use!
Regards
Lionel
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.
diff -r 98113fef7289 asciidoc.py
--- a/asciidoc.py Thu May 05 10:34:46 2011 +1200
+++ b/asciidoc.py Tue May 10 10:09:24 2011 +0200
@@ -1067,6 +1067,7 @@
# Drop line if it contains unsubstituted {name} references.
skipped = re.search(r'(?su)\{[^\\\W][-\w]*?\}(?!\\)', line)
if skipped:
+ trace('dropped line', line)
continue;
# Expand system attributes (eval has precedence).
reos = [