mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-01-03 10:29:19 +00:00
Added a hack to break on expression terminators (colon comma,
semicolon).
This commit is contained in:
parent
1e96c1e867
commit
a75acf0e66
@ -123,7 +123,9 @@ public class ApplesoftTokenizer {
|
|||||||
string.append(ch);
|
string.append(ch);
|
||||||
}
|
}
|
||||||
byt = fileData[offset];
|
byt = fileData[offset];
|
||||||
if ((byt & 0x80) != 0 || byt == 0) {
|
// FIXME: This is a hack to break on ":", ",", ";" but will fail on strings
|
||||||
|
if ((byt & 0x80) != 0 || byt == 0
|
||||||
|
|| byt == 0x3a || byt == 0x2c || byt == 0x3b) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
offset++;
|
offset++;
|
||||||
|
Loading…
Reference in New Issue
Block a user