Skip to content

Commit

Permalink
Update LexicalError.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
b3b00 authored May 10, 2024
1 parent 75d6292 commit c1dae86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sly/lexer/LexicalError.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public LexicalError(int line, int column, char unexpectedChar, string i18n)

public char UnexpectedChar { get; set; }

public override string ErrorMessage => I18N.Instance.GetText(I18n,I18NMessage.UnexpectedChar,UnexpectedChar.ToString(), Line.ToString(), Column.ToString());
public override string ErrorMessage => I18N.Instance.GetText(I18n,I18NMessage.UnexpectedChar,UnexpectedChar.ToString(), Line.ToString(), Column.ToString(), ((int)UnexpectedChar).ToString());

[ExcludeFromCodeCoverage]
public override string ToString()
Expand Down

0 comments on commit c1dae86

Please sign in to comment.