This commit is contained in:
Denis Molony 2021-02-20 19:49:48 +10:00
parent 506742bbac
commit ba6c067fb3

View File

@ -29,14 +29,14 @@ public class SourceLine implements ApplesoftConstants
addressNext = Utility.unsignedShort (buffer, ptr);
lineNumber = Utility.unsignedShort (buffer, ptr + 2);
int startPtr = ptr += 4; // skip link to next line and lineNumber
boolean inString = false; // can toggle
boolean inRemark = false; // can only go false -> true
int startPtr = ptr += 4; // skip link to next line and lineNumber
boolean inString = false; // can toggle
boolean inRemark = false; // can only go false -> true
byte b;
while (ptr < buffer.length && (b = buffer[ptr++]) != 0)
{
if (inRemark) // cannot terminate a REM
if (inRemark) // cannot terminate a REM
continue;
if (inString)