diff options
author | albert-github <albert.tests@gmail.com> | 2015-12-27 12:30:13 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2015-12-27 12:30:13 (GMT) |
commit | 8782107300b24ac5501d8a5ada9be0859a0ee432 (patch) | |
tree | bfa0b031eb2b1925d9605867b1c6816ed56019ae | |
parent | aaf8255268a59a86e65f70d31d7219b750856bd0 (diff) | |
download | Doxygen-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
-rw-r--r-- | src/pyscanner.l | 9 |
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 |