Compare commits

...

2 Commits

Author SHA1 Message Date
Tristan B. V. Kildaire 48f9b2659f Test cases
- Updated `simple_comments.t`
4 weeks ago
Tristan B. V. Kildaire ec143553cf BasicLexer
- Bug fix for single-line comments consuming first character on next line
4 weeks ago

@ -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();

@ -1,7 +1,6 @@
module simple_comments;
// Lol
int i;
/**

Loading…
Cancel
Save