FPDebug: fix error msg

git-svn-id: trunk@43246 -
This commit is contained in:
martin 2013-10-14 11:20:34 +00:00
parent 32a2a8e653
commit 35ea619dab

View File

@ -425,7 +425,7 @@ begin
'a'..'z',
'A'..'Z', '_': AddIdentifier;
else begin
SetError(Format('Unexpected char ''%0:s'' at pos %1:s', [CurPtr^, PosFromPChar(CurPtr)])); // error
SetError(Format('Unexpected char ''%0:s'' at pos %1:d', [CurPtr^, PosFromPChar(CurPtr)])); // error
break;
end;
end;