[stringtemplate-interest] Problem with newline chars

Andrew Goodnough Andrew.Goodnough at wicourts.gov
Fri Sep 23 05:35:00 PDT 2005


Yes, and if you look at Test.java (at the top), in one iteration, I hardcoded NEWLINE to be '\n' to match the template and still got the problem.  Not a huge deal, though.  The good news is that in the course of fighting this problem I've learned alot about how StringTemplate works.
 
Andy

>>> Terence Parr <parrt at cs.usfca.edu> 9/22/2005 1:04:03 PM >>>

Hi Andrew, well ST only spits out what you give it.  So if your  
template has \n instead of \r\n then you must compare against \n  
only.  Not sure if this helps ;)
Ter
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com

_______________________________________________
stringtemplate-interest mailing list
stringtemplate-interest at antlr.org
http://www.antlr.org:8080/mailman/listinfo/stringtemplate-interest


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20050923/e71e3e63/attachment.html


More information about the stringtemplate-interest mailing list