1
0
mirror of https://github.com/AppleCommander/bastools.git synced 2024-12-30 05:31:27 +00:00

Allowing a ' to begin a full-line comment; cannot be used within a

continued line.
This commit is contained in:
Rob Greene 2018-07-16 22:14:27 -05:00
parent 1ae29b4488
commit 070b9371ec

View File

@ -187,6 +187,8 @@ public enum ApplesoftKeyword {
// This resets part of parseNumbers to match AppleSoft tokenization!
tokenizer.ordinaryChar('-');
tokenizer.eolIsSignificant(true);
// Special case: Allow a single line comment with ' as that is not part of language
tokenizer.commentChar('\'');
return tokenizer;
}