diff options
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l index ddd839b..810a79b 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -2175,6 +2175,8 @@ IDLATTR ("["[^\]]*"]"){BN}* } current->name.resize(0); current->args.resize(0); + current->brief.resize(0); + current->doc.resize(0); current->initializer.resize(0); current->bitfields.resize(0); int i=oldType.length(); @@ -2709,7 +2711,7 @@ IDLATTR ("["[^\]]*"]"){BN}* fullArgString=current->args.copy(); copyArgString=¤t->args; BEGIN( ReadFuncArgType ) ; - //printf(">>> Read function arguments!\n"); + //printf(">>> Read function arguments current->argList->count()=%d\n",current->argList->count()); } } /* @@ -4047,6 +4049,10 @@ IDLATTR ("["[^\]]*"]"){BN}* <DocBlock>"//" { // slashes in the middle of a comment block docBlock+=yytext; } +<DocBlock>"/*" { // start of a new comment in the + // middle of a comment block + docBlock+=yytext; + } <DocBlock>("@@"|"\\\\"){ID}/[^a-z_A-Z0-9] { // escaped command docBlock+=yytext; } |