[asmxygen] Ignore symbols marked in a comment as '@dont_give_a_doxygen'

git-svn-id: svn://kolibrios.org@8977 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Magomed Kostoev (mkostoevr) 2021-06-29 19:18:18 +00:00
parent 7f55a3dc7b
commit e6dd99e189

View File

@ -1368,6 +1368,10 @@ class AsmElement:
print(f"{self.location}: {self.name}")
def emit(self, dest, doxycomment = '', declaration = ''):
# Do not emit anything if the symbol is marked as hidden in its comment
if '@dont_give_a_doxygen' in self.comment:
return
global warnings
# Redefine default declaration
if declaration == '':