mirror of
https://github.com/AppleCommander/bastools.git
synced 2024-12-21 23:29:31 +00:00
Allowing a ' to begin a full-line comment; cannot be used within a
continued line.
This commit is contained in:
parent
1ae29b4488
commit
070b9371ec
@ -187,6 +187,8 @@ public enum ApplesoftKeyword {
|
|||||||
// This resets part of parseNumbers to match AppleSoft tokenization!
|
// This resets part of parseNumbers to match AppleSoft tokenization!
|
||||||
tokenizer.ordinaryChar('-');
|
tokenizer.ordinaryChar('-');
|
||||||
tokenizer.eolIsSignificant(true);
|
tokenizer.eolIsSignificant(true);
|
||||||
|
// Special case: Allow a single line comment with ' as that is not part of language
|
||||||
|
tokenizer.commentChar('\'');
|
||||||
return tokenizer;
|
return tokenizer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user