diff options
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scanner.l b/src/scanner.l index d9d7da9..1a4c42d 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -2636,7 +2636,7 @@ PHPKW ("require"|"require_once"|"include"|"include_once"|"echo")[^a-zA-Z0-9_;] <ReadBody,ReadNSBody,ReadBodyIntf>{BN}+ { current->program += yytext ; lineCount() ; } -<ReadBodyIntf>"@end" { // end of Objective C block +<ReadBodyIntf>"@end"/[^a-z_A-Z0-9] { // end of Objective C block current_root->addSubEntry( current ) ; current=new Entry; initEntry(); @@ -5475,7 +5475,7 @@ PHPKW ("require"|"require_once"|"include"|"include_once"|"echo")[^a-zA-Z0-9_;] unput('\n'); BEGIN( lastInternalDocContext ); } -<AfterDoc>{CMD}"brief" { BEGIN(AfterDocBrief); } +<AfterDoc>{CMD}"brief" { current->brief.resize(0); BEGIN(AfterDocBrief); } <AfterDoc>"/*"|"//" { current->doc+=yytext; } <AfterDoc>^{B}*"*"+/[^/] <AfterDoc>\n { current->doc+=yytext; yyLineNr++; } |