mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 00:19:22 +02:00
IDE: Messages: fixed parsing Windows drive colon in fpc messages
git-svn-id: trunk@47545 -
This commit is contained in:
parent
e6f5e26e7c
commit
6b684cfedd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user