From 88c84f0affadf69d1813d1a971692a5097f8870a Mon Sep 17 00:00:00 2001 From: dimitri Date: Mon, 4 Feb 2002 19:54:47 +0000 Subject: Fixed constructor detection bug --- src/scanner.l | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scanner.l b/src/scanner.l index 46ed1f1..4032a73 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -1,6 +1,6 @@ /***************************************************************************** * - * + * $Id$ * * Copyright (C) 1997-2002 by Dimitri van Heesch. * @@ -2284,7 +2284,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) QCString tempName; static QRegExp re("operator[^a-z_A-Z0-9]"); if (tempArg==-1) tempName=current->name; else tempName=current->name.left(tempArg); - if ((current->type.isEmpty() && tempName.find(re)==-1) || + if (/*(current->type.isEmpty() && tempName.find(re)==-1) || */ current->type.left(8)=="typedef " ) { -- cgit v0.12