summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 1a4c42d..8fef9b3 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -4225,6 +4225,12 @@ PHPKW ("require"|"require_once"|"include"|"include_once"|"echo")[^a-zA-Z0-9_;]
current->startLine = yyLineNr;
BEGIN( FileDocArg1 );
}
+<Doc,LineDoc,JavaDoc>{B}*{CMD}"dir"{B}* {
+ current->section = Entry::DIRDOC_SEC;
+ current->fileName = yyFileName;
+ current->startLine = yyLineNr;
+ BEGIN( FileDocArg1 );
+ }
<Doc,JavaDoc>{B}*{CMD}"example"{B}+ {
current->section = Entry::EXAMPLE_SEC;
current->fileName = yyFileName;
@@ -5029,7 +5035,7 @@ PHPKW ("require"|"require_once"|"include"|"include_once"|"echo")[^a-zA-Z0-9_;]
current_root->addSubEntry(current);
current = new Entry ;
initEntry();
- BEGIN( FindMembers );
+ BEGIN( lastDocContext );
}
}
<PageDoc>"<"{TITLE}">" {