mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 21:35:57 +02:00
Jedi Code Format: Fix compilation with FPC 3.0.4. Issue #37734, patch from BrunoK.
git-svn-id: trunk@63881 -
This commit is contained in:
parent
5b2352d8a1
commit
f7701ffbe4
@ -323,9 +323,10 @@ begin
|
||||
begin
|
||||
lPos:=0;
|
||||
lLen:=length(pcToken.SourceCode);
|
||||
if StartsText('{$include',pcToken.SourceCode)=true then
|
||||
if AnsiStartsText('{$I', pcToken.SourceCode) then
|
||||
if AnsiStartsText('{$INCLUDE', pcToken.SourceCode) then
|
||||
lPos := 10
|
||||
else if StartsStr('{$I',pcToken.SourceCode)=true then
|
||||
else
|
||||
lPos := 4;
|
||||
if (lPos>0) and (lPos<lLen) and (CharIsWhiteSpace(pcToken.SourceCode[lPos])) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user