IDE: Messages: fixed parsing Windows drive colon in fpc messages

git-svn-id: trunk@47545 -
This commit is contained in:
mattias 2015-01-27 08:40:32 +00:00
parent e6f5e26e7c
commit 6b684cfedd

View File

@ -2326,7 +2326,7 @@ function TIDEFPCParser.CheckForFileLineColMessage(p: PChar): boolean;
{ filename(line,column) Hint: message
filename(line,column) Hint: (msgid) message
filename(line) Hint: (msgid) message
file(3)name(line,column) Hint: (msgid) message
B:\file(3)name(line,column) Hint: (msgid) message
}
var
FileStartPos: PChar;
@ -2351,7 +2351,9 @@ begin
case p^ of
#0: exit;
'(': FileEndPos:=p;
':': break;
':':
if (DriveSeparator='') or (p-FileStartPos>1) then
break;
end;
inc(p);
end;