Skip to content

Commit 362f6c3

Browse files
committed
Fixed argument number in string format function.
1 parent b8b3f98 commit 362f6c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MathExpressions.NET/MathExprParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public bool Parse(TextReader reader)
175175
{
176176
case ParseMessage.LexicalError:
177177
//Cannot recognize token
178-
Errors.Add(new ParserError(parser.CurrentToken().Position(), string.Format("Lexical Error. Token {1} was not expected.", parser.CurrentToken().Data)));
178+
Errors.Add(new ParserError(parser.CurrentToken().Position(), string.Format("Lexical Error. Token {0} was not expected.", parser.CurrentToken().Data)));
179179
done = true;
180180
break;
181181

0 commit comments

Comments
 (0)