mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 01:49:25 +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];
|
||||
if ((pp^='/') and (pp[1]='/') and (pp[2] 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
|
||||
break;
|
||||
//debugln(['TStandardCodeTool.GetPasDocComments Comment="',copy(Src,p,FindCommentEnd(Src,p,Scanner.NestedComments)-p),'"']);
|
||||
|
Loading…
Reference in New Issue
Block a user