diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-10-05 18:06:58 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-10-05 18:06:58 (GMT) |
commit | deb9b8d40d7ac7d0c576ac9401aaed9e21ccdc58 (patch) | |
tree | 71b1f69fb092055eb6cb12c050b73c5ff04afd85 /src/scanner.l | |
parent | f08cd6363f5da22b2452d4f937fef68220fcb081 (diff) | |
download | Doxygen-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.l | 19 |
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(); |