Skip to content

Commit

Permalink
удалил ненавистный Utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Stepami committed Dec 8, 2023
1 parent 3352007 commit eda24ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Interpreter.Lib/FrontEnd/GetTokens/Data/Structure.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public Structure(List<TokenType> types)
{
types.AddRange(new List<TokenType>
{
TokenTypeUtils.End,
TokenTypeUtils.Error
new EndOfProgramType(),
new ErrorType()
});
types = types
.OrderBy(t => t.Priority)
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion Interpreter.Lib/FrontEnd/GetTokens/Impl/Lexer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public IEnumerator<Token> GetEnumerator()
}
}

yield return new Token(TokenTypeUtils.End);
yield return new Token(new EndOfProgramType());
}

[ExcludeFromCodeCoverage]
Expand Down

0 comments on commit eda24ac

Please sign in to comment.