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
1 changed files with 2 additions and 0 deletions

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;
}