mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-22 23:29:34 +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);
|
||||
}
|
||||
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;
|
||||
}
|
||||
offset++;
|
||||
|
Loading…
Reference in New Issue
Block a user