Skip to content

Commit 28a4a75

Browse files
committed
Привнес ошибку, вернул правильный код
1 parent 1a8f0b4 commit 28a4a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OneScript.Language/SyntaxAnalysis/ImportDirectivesHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ private static LexerBuilder SetupLexerBuilder()
2727
builder
2828
.DetectComments()
2929
.Detect((cs, i) => !char.IsWhiteSpace(cs))
30-
.HandleWith(new WordLexerState());
30+
.HandleWith(new NonWhitespaceLexerState());
3131

3232
return builder;
3333
}

0 commit comments

Comments
 (0)