summaryrefslogtreecommitdiffstats
path: root/src/pyscanner.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2008-06-26 19:24:36 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2008-06-26 19:24:36 (GMT)
commit15c353fe21452d415876c93607a468c5a8e89b82 (patch)
treecc6b9b1f467451deab5096afece76012eec030b3 /src/pyscanner.l
parente436cad917e0d8e0cdb7de9d2fbafc7a44b6ab54 (diff)
downloadDoxygen-15c353fe21452d415876c93607a468c5a8e89b82.zip
Doxygen-15c353fe21452d415876c93607a468c5a8e89b82.tar.gz
Doxygen-15c353fe21452d415876c93607a468c5a8e89b82.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=')';