mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-05 03:58:20 +02:00
codetools: fixed TPascalParserTool.ExtractNextAtom adding space between words
git-svn-id: trunk@30695 -
This commit is contained in:
parent
7cd017040a
commit
1b7397b2a3
@ -4487,7 +4487,7 @@ begin
|
|||||||
// -> check if a space must be inserted
|
// -> check if a space must be inserted
|
||||||
if AddAtom
|
if AddAtom
|
||||||
and ( ((phpCommentsToSpace in Attr) and (CurPos.StartPos>LastAtomEndPos))
|
and ( ((phpCommentsToSpace in Attr) and (CurPos.StartPos>LastAtomEndPos))
|
||||||
or ((CurPos.StartPos<=SrcLen) and (IsIdentStartChar[Src[CurPos.StartPos]])
|
or ((CurPos.StartPos<=SrcLen) and (IsIdentChar[Src[CurPos.StartPos]])
|
||||||
and ExtractStreamEndIsIdentChar)
|
and ExtractStreamEndIsIdentChar)
|
||||||
)
|
)
|
||||||
then begin
|
then begin
|
||||||
|
Loading…
Reference in New Issue
Block a user