mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 15:20:33 +02:00
codetools: get pasdoc comment: ignore comments starting with % or $
git-svn-id: trunk@46503 -
This commit is contained in:
parent
cc8d68aac1
commit
4679dc1e09
@ -3402,7 +3402,7 @@ function TPascalReaderTool.GetPasDocComments(Node: TCodeTreeNode;
|
|||||||
pp:=@Src[p];
|
pp:=@Src[p];
|
||||||
if ((pp^='/') and (pp[1]='/') and (pp[2] in ['$','%']))
|
if ((pp^='/') and (pp[1]='/') and (pp[2] in ['$','%']))
|
||||||
or ((pp^='{') and (pp[1] in ['$','%']))
|
or ((pp^='{') and (pp[1] in ['$','%']))
|
||||||
or ((pp^='(') and (pp[1]='*') and (pp[2]='$'))
|
or ((pp^='(') and (pp[1]='*') and (pp[2] in ['$','%']))
|
||||||
then
|
then
|
||||||
break;
|
break;
|
||||||
//debugln(['TStandardCodeTool.GetPasDocComments Comment="',copy(Src,p,FindCommentEnd(Src,p,Scanner.NestedComments)-p),'"']);
|
//debugln(['TStandardCodeTool.GetPasDocComments Comment="',copy(Src,p,FindCommentEnd(Src,p,Scanner.NestedComments)-p),'"']);
|
||||||
|
Loading…
Reference in New Issue
Block a user