summaryrefslogtreecommitdiffstats
path: root/src/pyscanner.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-06-26 19:24:36 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-06-26 19:24:36 (GMT)
commit039f53bb7a3f1c3dfdf03f120437f2daef454fb3 (patch)
treecc6b9b1f467451deab5096afece76012eec030b3 /src/pyscanner.l
parent52629ec8265ab9f6250ec9cd4bba55932e680b9d (diff)
downloadDoxygen-039f53bb7a3f1c3dfdf03f120437f2daef454fb3.zip
Doxygen-039f53bb7a3f1c3dfdf03f120437f2daef454fb3.tar.gz
Doxygen-039f53bb7a3f1c3dfdf03f120437f2daef454fb3.tar.bz2
Release-1.5.6-20080626
Diffstat (limited to 'src/pyscanner.l')
-rw-r--r--src/pyscanner.l15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l
index b70c448..6c832f7 100644
--- a/src/pyscanner.l
+++ b/src/pyscanner.l
@@ -535,6 +535,16 @@ STARTDOCSYMS ^{B}"##"/[^#]
g_packageCommentAllowed = FALSE;
BEGIN( Import );
}
+ ^{B}{IDENTIFIER}/{B}"="{B}"property" { // property
+ current->section = Entry::VARIABLE_SEC;
+ current->mtype = Property;
+ current->name = QCString(yytext).stripWhiteSpace();
+ current->fileName = yyFileName;
+ current->startLine = yyLineNr;
+ current->bodyLine = yyLineNr;
+ g_packageCommentAllowed = FALSE;
+ BEGIN(VariableDec);
+ }
^{B}{IDENTIFIER}/{B}"="[^=] { // variable
g_indent=computeIndent(yytext);
current->section = Entry::VARIABLE_SEC;
@@ -1129,7 +1139,10 @@ STARTDOCSYMS ^{B}"##"/[^#]
BEGIN(TripleString);
}
"(" { // tuple
- current->type = "tuple";
+ if (current->mtype!=Property)
+ {
+ current->type = "tuple";
+ }
current->initializer+=*yytext;
g_atomStart='(';
g_atomEnd=')';