diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2006-05-07 18:20:12 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2006-05-07 18:20:12 (GMT) |
commit | de0997f3baf049e0c312ac4fc9b9b762fdc40e00 (patch) | |
tree | 2d15670fa3b1c4279e9d9439de2606f91f865d8b /src/scanner.l | |
parent | f8bf8307e131fd6e3057635f0553ce6d6bb9794f (diff) | |
download | Doxygen-de0997f3baf049e0c312ac4fc9b9b762fdc40e00.zip Doxygen-de0997f3baf049e0c312ac4fc9b9b762fdc40e00.tar.gz Doxygen-de0997f3baf049e0c312ac4fc9b9b762fdc40e00.tar.bz2 |
Release-1.4.6-20060507
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/scanner.l b/src/scanner.l index 12112b8..9001e80 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2005 by Dimitri van Heesch. + * Copyright (C) 1997-2006 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -531,7 +531,7 @@ static int yyread(char *buf,int max_size) /* start command character */ CMD ("\\"|"@") -SECTIONCMD {CMD}("image"|"author"|"internal"|"version"|"date"|"deprecated"|"param"|"exception"|"return"[s]?|"retval"|"bug"|"warning"|"par"|"sa"|"see"|"pre"|"post"|"invariant"|"note"|"remark"[s]?|"todo"|"test"|"xrefitem"|"ingroup"|"callgraph"|"latexonly"|"htmlonly"|"xmlonly"|"{"|"verbatim"|"dotfile"|"dot"|"defgroup"|"addtogroup"|"weakgroup"|"class"|"namespace"|"union"|"struct"|"fn"|"var"|"details"|"typedef"|"def"|"overload")|("<"{PRE}">") +SECTIONCMD {CMD}("image"|"author"|"internal"|"version"|"date"|"deprecated"|"param"|"exception"|"return"[s]?|"retval"|"bug"|"warning"|"par"|"sa"|"see"|"pre"|"post"|"invariant"|"note"|"remark"[s]?|"todo"|"test"|"xrefitem"|"ingroup"|"callgraph"|"callergraph"|"latexonly"|"htmlonly"|"xmlonly"|"{"|"verbatim"|"dotfile"|"dot"|"defgroup"|"addtogroup"|"weakgroup"|"class"|"namespace"|"union"|"struct"|"fn"|"var"|"details"|"typedef"|"def"|"overload")|("<"{PRE}">") BN [ \t\n\r] BL [ \t\r]*"\n" B [ \t] @@ -2973,6 +2973,10 @@ TYPEDEFPREFIX (("typedef"{BN}+)?)((("volatile"|"const"){BN}+)?) } <CopyArgCommentLine>{CMD}("f$"|"f["|"f{") { docBlockName=&yytext[1]; + if (docBlockName.at(1)=='[') + { + docBlockName.at(1)='}'; + } if (docBlockName.at(1)=='{') { docBlockName.at(1)='}'; @@ -4693,7 +4697,7 @@ static void parseMain(const char *fileName,const char *fileBuf,Entry *rt) inputPosition = 0; g_inputFromFile = FALSE; - anonCount = 0; + //anonCount = 0; // don't reset per file depthIf = 0; protection = Public; mtype = Method; |