mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-02-28 09:29:53 +00:00
Separates on character tokens (":;,+-*/").
This commit is contained in:
parent
895685e948
commit
50aab615cc
@ -113,6 +113,9 @@ public class ApplesoftTokenizer {
|
||||
} else {
|
||||
return new ApplesoftToken(byt, tokens[token]);
|
||||
}
|
||||
} else if (byt == ':' || byt == ';' || byt == ',' || byt == '^'
|
||||
|| byt == '+' || byt == '-' || byt == '*' || byt == '/') {
|
||||
return new ApplesoftToken(new String(new byte[] { byt }));
|
||||
} else {
|
||||
StringBuffer string = new StringBuffer();
|
||||
while (true) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user