mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 12:00:29 +02:00
codetools: fixed skipping include files in skipped ifdef
git-svn-id: trunk@36769 -
This commit is contained in:
parent
6f02c6c229
commit
c7a09910d0
@ -3682,11 +3682,14 @@ begin
|
||||
#0:
|
||||
begin
|
||||
SrcPos:=p-PChar(Src)+1;
|
||||
if (SrcPos>SrcLen) and not ReturnFromIncludeFile then begin
|
||||
CommentStartPos:=0;
|
||||
break;
|
||||
end;
|
||||
inc(p);
|
||||
if (SrcPos>SrcLen) then begin
|
||||
if not ReturnFromIncludeFile then begin
|
||||
CommentStartPos:=0;
|
||||
break;
|
||||
end;
|
||||
p:=@Src[SrcPos];
|
||||
end else
|
||||
inc(p);
|
||||
end;
|
||||
else
|
||||
inc(p);
|
||||
|
Loading…
Reference in New Issue
Block a user