BasicLexer
- Bug fix for single-line comments consuming first character on next line
This commit is contained in:
parent
3bb3dc94ab
commit
ec143553cf
|
@ -509,7 +509,7 @@ public final class BasicLexer : LexerInterface
|
|||
while (true) {
|
||||
if (!multiLine && currentChar == LS.NEWLINE) {
|
||||
flush();
|
||||
return advanceLine();
|
||||
return true;
|
||||
}
|
||||
if (multiLine && currentChar == LS.STAR && isForward() && sourceCode[position+1] == LS.FORWARD_SLASH) {
|
||||
buildAdvance();
|
||||
|
|
Loading…
Reference in New Issue