From 6d68236e14fcde2d4d71a0f9ee04f8887d0f90bb Mon Sep 17 00:00:00 2001 From: mattias Date: Tue, 26 May 2009 11:00:47 +0000 Subject: [PATCH] codetools: added * operator to const set terms git-svn-id: trunk@20236 - --- components/codetools/finddeclarationtool.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/codetools/finddeclarationtool.pas b/components/codetools/finddeclarationtool.pas index 49e0673eb8..28fcaad889 100644 --- a/components/codetools/finddeclarationtool.pas +++ b/components/codetools/finddeclarationtool.pas @@ -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;