summaryrefslogtreecommitdiffstats
path: root/src/pyscanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/pyscanner.l')
-rw-r--r--src/pyscanner.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l
index 18d0872..24b2672 100644
--- a/src/pyscanner.l
+++ b/src/pyscanner.l
@@ -132,7 +132,7 @@ static void initEntry()
current->mtype = mtype;
current->virt = virt;
current->stat = gstat;
- current->objc = FALSE; //insideObjC;
+ current->lang = SrcLangExt_Python;
current->setParent(current_root);
initGroupInfo(current);
}
@@ -501,7 +501,7 @@ STARTDOCSYMS ^{B}"##"/[^#]
current->bodyLine = yyLineNr;
current->section = Entry::FUNCTION_SEC;
current->protection = protection = Public;
- current->objc = FALSE;
+ current->lang = SrcLangExt_Python;
current->virt = Normal;
current->stat = FALSE;
current->mtype = mtype = Method;