Commit 88c84f0a authored by dimitri's avatar dimitri

Fixed constructor detection bug

parent d5383c8b
/***************************************************************************** /*****************************************************************************
* *
* * $Id$
* *
* Copyright (C) 1997-2002 by Dimitri van Heesch. * Copyright (C) 1997-2002 by Dimitri van Heesch.
* *
...@@ -2284,7 +2284,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) ...@@ -2284,7 +2284,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
QCString tempName; QCString tempName;
static QRegExp re("operator[^a-z_A-Z0-9]"); static QRegExp re("operator[^a-z_A-Z0-9]");
if (tempArg==-1) tempName=current->name; else tempName=current->name.left(tempArg); 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 " current->type.left(8)=="typedef "
) )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment