mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-06-13 06:29:31 +00:00
allow empty DATA
This commit is contained in:
parent
301b6c27c4
commit
ca64401dde
|
@ -335,8 +335,11 @@ public class SubLine implements ApplesoftConstants
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TOKEN_DATA:
|
case TOKEN_DATA:
|
||||||
String[] chunks = new String (getBuffer ()).split (",");
|
lineBuffer = getBuffer ();
|
||||||
for (String chunk : chunks)
|
if (lineBuffer.length == 0)
|
||||||
|
break;
|
||||||
|
|
||||||
|
for (String chunk : new String (lineBuffer).split (","))
|
||||||
{
|
{
|
||||||
b = (byte) chunk.charAt (0);
|
b = (byte) chunk.charAt (0);
|
||||||
if (Utility.isDigit (b) || b == Utility.ASCII_MINUS || b == Utility.ASCII_DOT)
|
if (Utility.isDigit (b) || b == Utility.ASCII_MINUS || b == Utility.ASCII_DOT)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user