summaryrefslogtreecommitdiffstats
path: root/src/pyscanner.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-12-27 12:30:13 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-12-27 12:30:13 (GMT)
commit8782107300b24ac5501d8a5ada9be0859a0ee432 (patch)
treebfa0b031eb2b1925d9605867b1c6816ed56019ae /src/pyscanner.l
parentaaf8255268a59a86e65f70d31d7219b750856bd0 (diff)
downloadDoxygen-8782107300b24ac5501d8a5ada9be0859a0ee432.zip
Doxygen-8782107300b24ac5501d8a5ada9be0859a0ee432.tar.gz
Doxygen-8782107300b24ac5501d8a5ada9be0859a0ee432.tar.bz2
Bug 595186 - Python ignores \private tag
Don't overwrite the protection settings in current entry, they may result from a comment block
Diffstat (limited to 'src/pyscanner.l')
-rw-r--r--src/pyscanner.l9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l
index 9408c7d..9ec69be 100644
--- a/src/pyscanner.l
+++ b/src/pyscanner.l
@@ -401,7 +401,6 @@ static void searchFoundDef()
current->startLine = yyLineNr;
current->bodyLine = yyLineNr;
current->section = Entry::FUNCTION_SEC;
- current->protection = protection = Public;
current->lang = SrcLangExt_Python;
current->virt = Normal;
current->stat = gstat;
@@ -774,10 +773,6 @@ STARTDOCSYMS "##"
{
current->protection=Private;
}
- else
- {
- current->protection=Public;
- }
newEntry();
}
"cls."{IDENTIFIER}/{B}"=" {
@@ -792,10 +787,6 @@ STARTDOCSYMS "##"
{
current->protection=Private;
}
- else
- {
- current->protection=Public;
- }
newEntry();
}
{TRIDOUBLEQUOTE} { // start of a comment block