summaryrefslogtreecommitdiffstats
path: root/src/pyscanner.l
diff options
context:
space:
mode:
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