summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-10-14 18:01:08 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-10-14 18:01:08 (GMT)
commit4f13c95eed55e8b0d989f2eeeb0ab72bd70f2b38 (patch)
treebcdab6f521bde9211fb810a1adaf06fbc4a93504 /src/pre.l
parentf12c78472b4ea2f6b82c241a345af5da3d4973b9 (diff)
downloadDoxygen-4f13c95eed55e8b0d989f2eeeb0ab72bd70f2b38.zip
Doxygen-4f13c95eed55e8b0d989f2eeeb0ab72bd70f2b38.tar.gz
Doxygen-4f13c95eed55e8b0d989f2eeeb0ab72bd70f2b38.tar.bz2
Release-1.2.11-20011014
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pre.l b/src/pre.l
index 97a5606..84501e1 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -1040,6 +1040,14 @@ BN [ \t\r\n]
outputArray(yytext,yyleng);
BEGIN(CopyLine);
}
+<Start>^{B}*[_A-Z][_A-Z0-9]*"("[^\)\n]*")"/{BN}{1,10}*[:{] { // constructors?
+ int i;
+ for (i=yyleng-1;i>=0;i--)
+ {
+ unput(yytext[i]);
+ }
+ BEGIN(CopyLine);
+ }
<Start>^{B}*[_A-Z][_A-Z0-9]*"("[^\)\n]*")"{B}*\n { // function like macro
static bool skipFuncMacros = Config_getBool("SKIP_FUNCTION_MACROS");
QCString name(yytext);