mirror of
https://github.com/AppleCommander/bastools.git
synced 2025-01-02 10:31:01 +00:00
Fixup for renumbering; THEN should not trigger multiple number alterations.
This commit is contained in:
parent
9dbbfdd663
commit
f0c27bcacf
@ -67,8 +67,7 @@ public class ReassignmentVisitor implements Visitor {
|
||||
next = t.keyword == ApplesoftKeyword.GOSUB || t.keyword == ApplesoftKeyword.GOTO
|
||||
|| t.keyword == ApplesoftKeyword.THEN || t.keyword == ApplesoftKeyword.RUN
|
||||
|| t.keyword == ApplesoftKeyword.LIST;
|
||||
multiple |= t.keyword == ApplesoftKeyword.LIST || t.keyword == ApplesoftKeyword.ON
|
||||
|| t.keyword == ApplesoftKeyword.THEN;
|
||||
multiple |= t.keyword == ApplesoftKeyword.LIST || t.keyword == ApplesoftKeyword.ON;
|
||||
}
|
||||
newStatement.tokens.add(newToken);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user