Commit 1335cc70 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Fixed constructor detection bug

parent 3552dcb3
/***************************************************************************** /*****************************************************************************
* *
* * $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