Loading asn2md.py +1 −1 Original line number Diff line number Diff line Loading @@ -110,7 +110,7 @@ def parseInlineComments(content:str, indent=None): def parseDoxyComments(content:str): # keep only '--! ' and /** */ comments # convert '--! ' comments to C-style content = RE_DOXY_ASN_COMMENTS.sub(r'/** *\g<1>*/', content) content = RE_DOXY_ASN_COMMENTS.sub('/** *\g<1>*/', content) ret = '' for m in RE_DOXY_C_COMMENTS.finditer(content): ret += RE_STRIPSTAR.sub('', m.group(1)) Loading Loading
asn2md.py +1 −1 Original line number Diff line number Diff line Loading @@ -110,7 +110,7 @@ def parseInlineComments(content:str, indent=None): def parseDoxyComments(content:str): # keep only '--! ' and /** */ comments # convert '--! ' comments to C-style content = RE_DOXY_ASN_COMMENTS.sub(r'/** *\g<1>*/', content) content = RE_DOXY_ASN_COMMENTS.sub('/** *\g<1>*/', content) ret = '' for m in RE_DOXY_C_COMMENTS.finditer(content): ret += RE_STRIPSTAR.sub('', m.group(1)) Loading