mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 11:00:37 +02:00
codetools: added * operator to const set terms
git-svn-id: trunk@20236 -
This commit is contained in:
parent
ba16d11eae
commit
6d68236e14
@ -8680,10 +8680,9 @@ function TFindDeclarationTool.IsTermEdgedBracket(TermPos: TAtomPosition; out
|
||||
- functions
|
||||
- operators: + and -
|
||||
|
||||
[a,b]+[c]-A()
|
||||
[a,b]+[c]-D()*inherited E
|
||||
|
||||
not allowed:
|
||||
[]*[]
|
||||
[]<>[]
|
||||
}
|
||||
var
|
||||
@ -8707,7 +8706,8 @@ begin
|
||||
begin
|
||||
inc(Lvl);
|
||||
if (Lvl=1) and (EdgedBracketsStartPos<1) then begin
|
||||
if (LastAtoms.Count=0) or LastAtomIs(-1,'+') or LastAtomIs(-1,'-')
|
||||
if (LastAtoms.Count=0)
|
||||
or LastAtomIs(-1,'+') or LastAtomIs(-1,'-') or LastAtomIs(-1,'*')
|
||||
then
|
||||
EdgedBracketsStartPos:=CurPos.StartPos;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user