mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-05 20:37:19 +01:00
IDE: fpc parser: get parameter on message with id
git-svn-id: trunk@45261 -
This commit is contained in:
parent
e7674e7143
commit
ec104c23e8
@ -2433,9 +2433,11 @@ begin
|
||||
Value1:='';
|
||||
Value2:='';
|
||||
if Msg=nil then exit(false);
|
||||
if Msg.MsgID=MsgId then exit(true);
|
||||
if Msg.MsgID<>0 then exit(false);
|
||||
if Msg.SubTool<>SubToolFPC then exit(false);
|
||||
if Msg.MsgID<>MsgId then begin
|
||||
if Msg.MsgID<>0 then exit(false);
|
||||
if Msg.SubTool<>SubToolFPC then exit(false);
|
||||
end;
|
||||
Result:=true;
|
||||
aFPCParser:=GetFPCParser(Msg);
|
||||
if aFPCParser=nil then exit;
|
||||
Pattern:=aFPCParser.GetFPCMsgIDPattern(MsgId);
|
||||
|
||||
@ -29,7 +29,7 @@ unit etSrcEditMarks;
|
||||
|
||||
{$IFNDEF EnableNewExtTools}{$Error Wrong}{$ENDIF}
|
||||
|
||||
{$DEFINE VerboseETSrcChange}
|
||||
{off $DEFINE VerboseETSrcChange}
|
||||
|
||||
interface
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user