On Fri, 11 Sep 2020, Mattias Gaertner via lazarus wrote:
On Fri, 11 Sep 2020 13:14:59 +0300
"Alexey Tor. via lazarus" wrote:
https://github.com/graemeg/lazarus/commit/f4ffd5e0640948e9c396e1ef1b2aacd90512ac77
if StartsText('{$include',pcToken.SourceCode)=true then
lPos:=10
e
On Fri, 11 Sep 2020 13:14:59 +0300
"Alexey Tor. via lazarus" wrote:
> https://github.com/graemeg/lazarus/commit/f4ffd5e0640948e9c396e1ef1b2aacd90512ac77
>
> if StartsText('{$include',pcToken.SourceCode)=true then
> lPos:=10
> else if StartsStr('{$I',pcToken.SourceCode)=true then
On Fri, Sep 11, 2020 at 12:15 PM Alexey Tor. via lazarus
wrote:
> if StartsText('{$include',pcToken.SourceCode)=true then
>lPos:=10
> else if StartsStr('{$I',pcToken.SourceCode)=true then
I really dislike this "if BooleanExpression=true" (or: "if
BooleanExpression=false").
A sim
https://github.com/graemeg/lazarus/commit/f4ffd5e0640948e9c396e1ef1b2aacd90512ac77
if StartsText('{$include',pcToken.SourceCode)=true then
lPos:=10
else if StartsStr('{$I',pcToken.SourceCode)=true then
a) $include is searched case-insens? why no space after "$include" to
avoid inc