summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-10-14 18:01:08 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-10-14 18:01:08 (GMT)
commit3c05bde563408b446333fb435b443d69903b156f (patch)
treebcdab6f521bde9211fb810a1adaf06fbc4a93504 /src/pre.l
parentbbd28a0ff4c70dccb9729e6ce515c08fc4756272 (diff)
downloadDoxygen-3c05bde563408b446333fb435b443d69903b156f.zip
Doxygen-3c05bde563408b446333fb435b443d69903b156f.tar.gz
Doxygen-3c05bde563408b446333fb435b443d69903b156f.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);