Comment #1 on issue 53 by piehyv: Allow PreProc to generate multiple input  
lines
http://code.google.com/p/txt2tags/issues/detail?id=53

This is a duplicate of issue 25...

Your patch is smaller than the one I submitted there but it may cause  
problems when using "recursive" preproc rules like

%!preproc: "^AAA$" "BBB\nAAA"

Your patch makes txt2tag loop. (It shouldn't be the case for the earlier  
patch.)

Such preproc rules are valid and sometimes used to generate multiple lines:
%!preproc "^AAA$" "first line\nAAA"
%!preproc "^AAA$" "second line\nAAA"
%!preproc "^AAA$  "third line"


I wouldn't mind forbidding such preproc rules, but detecting them would be  
messy; and having txt2tags loop is a bad thing.


Pierre



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
txt2tags-list mailing list
https://lists.sourceforge.net/lists/listinfo/txt2tags-list

Reply via email to