Skip to content

Commit 2c99852

Browse files
authored
remove dead code ?
1 parent 792d9e0 commit 2c99852

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/sly/parser/parser/Parser.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,7 @@ public ParseResult<IN, OUT> ParseWithContext(string source, object context, stri
8888
{
8989
tokens = Lexer.LexerPostProcess(tokens);
9090
}
91-
var position = 0;
92-
var tokensWithoutComments = new List<Token<IN>>();
93-
for (var i = 0; i < tokens.Count; i++)
94-
{
95-
var token = tokens[i];
96-
token.PositionInTokenVisibleFlow = position;
97-
}
98-
91+
9992
result = ParseWithContext(tokens, context, startingNonTerminal);
10093

10194

0 commit comments

Comments
 (0)