From e6dd99e1891dcefded6c6bed377ee978b2c6c922 Mon Sep 17 00:00:00 2001 From: "Magomed Kostoev (mkostoevr)" Date: Tue, 29 Jun 2021 19:18:18 +0000 Subject: [PATCH] [asmxygen] Ignore symbols marked in a comment as '@dont_give_a_doxygen' git-svn-id: svn://kolibrios.org@8977 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/asmxygen.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/trunk/asmxygen.py b/kernel/trunk/asmxygen.py index dda95331b5..f88ebea8b9 100644 --- a/kernel/trunk/asmxygen.py +++ b/kernel/trunk/asmxygen.py @@ -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 == '':