summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-10-05 18:06:58 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-10-05 18:06:58 (GMT)
commitdeb9b8d40d7ac7d0c576ac9401aaed9e21ccdc58 (patch)
tree71b1f69fb092055eb6cb12c050b73c5ff04afd85 /src/scanner.l
parentf08cd6363f5da22b2452d4f937fef68220fcb081 (diff)
downloadDoxygen-deb9b8d40d7ac7d0c576ac9401aaed9e21ccdc58.zip
Doxygen-deb9b8d40d7ac7d0c576ac9401aaed9e21ccdc58.tar.gz
Doxygen-deb9b8d40d7ac7d0c576ac9401aaed9e21ccdc58.tar.bz2
Release-1.3.9
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 3260974..870590c 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -1209,8 +1209,12 @@ PHPKW ("require"|"require_once"|"include"|"include_once"|"echo")[^a-zA-Z0-9_;]
if (!insidePHP)
{
current->type += " abstract ";
+ current->virt = Pure;
+ }
+ else
+ {
+ current->memSpec|=Entry::Abstract;
}
- current->virt = Pure;
lineCount();
}
<FindMembers>{B}*"inline"{BN}+ { current->memSpec|=Entry::Inline;
@@ -3295,6 +3299,19 @@ PHPKW ("require"|"require_once"|"include"|"include_once"|"echo")[^a-zA-Z0-9_;]
}
}
//printf("Adding entry `%s'\n",current->name.data());
+ if ( insidePHP)
+ {
+ if (current->type.left(6) == "final " )
+ {
+ current->type = current->type.mid(6);
+ current->memSpec |= Entry::Final;
+ }
+ if (current->type.left(9) == "abstract " )
+ {
+ current->type = current->type.mid(9);
+ current->memSpec |= Entry::Abstract;
+ }
+ }
if ( insidePHP && current->type.left(8) != "function" )
{
initEntry();