Revision: 3895 http://vexi.svn.sourceforge.net/vexi/?rev=3895&view=rev Author: clrg Date: 2010-09-10 00:31:07 +0000 (Fri, 10 Sep 2010)
Log Message: ----------- Fix for files without newlines at the end Modified Paths: -------------- trunk/widgets/org.vexi.widgets/src/vexi/util/stream.t Modified: trunk/widgets/org.vexi.widgets/src/vexi/util/stream.t =================================================================== --- trunk/widgets/org.vexi.widgets/src/vexi/util/stream.t 2010-09-10 00:03:08 UTC (rev 3894) +++ trunk/widgets/org.vexi.widgets/src/vexi/util/stream.t 2010-09-10 00:31:07 UTC (rev 3895) @@ -56,8 +56,11 @@ } else { // no double quotes - move to next ',' do { - if (cur==",") { + if (cur==null) { currow.push(content.join("")); + continue PARSEME; + } else if (cur==",") { + currow.push(content.join("")); content = []; cur = reader["char"]; continue PARSEME; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn