Revision: 5523
          http://jnode.svn.sourceforge.net/jnode/?rev=5523&view=rev
Author:   crawley
Date:     2009-05-26 12:25:35 +0000 (Tue, 26 May 2009)

Log Message:
-----------
Under certain circumstances, skipNextLine() would go into an infinite loop.
(I think this only affected the completion unit tests, but it is fixed
anyway.)

Modified Paths:
--------------
    trunk/shell/src/shell/org/jnode/shell/bjorne/BjorneParser.java

Modified: trunk/shell/src/shell/org/jnode/shell/bjorne/BjorneParser.java
===================================================================
--- trunk/shell/src/shell/org/jnode/shell/bjorne/BjorneParser.java      
2009-05-25 11:12:34 UTC (rev 5522)
+++ trunk/shell/src/shell/org/jnode/shell/bjorne/BjorneParser.java      
2009-05-26 12:25:35 UTC (rev 5523)
@@ -792,6 +792,8 @@
                         throw new IncompleteCommandException(
                                 "EOF reached while dealing with optional 
linebreak(s)", 
                                 continuationPrompt);
+                    } else {
+                        break;
                     }
                 } else {
                     break;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Jnode-svn-commits mailing list
Jnode-svn-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jnode-svn-commits

Reply via email to