Comment #2 on issue 53 by [email protected]: Allow PreProc to generate multiple input lines http://code.google.com/p/txt2tags/issues/detail?id=53
> This is a duplicate of issue 25... Yes, I'm sorry, I'd forgotten about 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" My patch should have no affect on this or your other examples as '\n' does not generate new input lines. (As I stated above.) It can only 'recurse' if you write a new PreProc that contains '\f' in its output. I'm sure there are plenty of other ways to break txt2tags if you really want to :-). However, It wouldn't be too difficult to add some kind of progress-or-abort check. Anyway, it's only 4 lines of new code. It should be pretty easy to test - and fix as/if necessary. Chris ------------------------------------------------------------------------------ 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
