jcf2: Support "static" keyword better. Issue #32267, patch from delfion.

git-svn-id: trunk@55784 -
This commit is contained in:
juha 2017-09-04 08:46:56 +00:00
parent 79e14af470
commit 80722bc507

View File

@ -85,6 +85,14 @@ begin
exit;
end;
{ point 1b }
if (ptNext.HasParentNode(nHintDirectives)) then
begin
Result := False;
exit;
end;
{ point 2. to avoid the return,
the next token must still be in the same property}
if ptNext.HasParentNode(nProperty) and (ptNext.TokenType <> ttProperty) then