Loading src/scanner.l +2 −2 Original line number Original line Diff line number Diff line /***************************************************************************** /***************************************************************************** * * * * $Id$ * * * Copyright (C) 1997-2002 by Dimitri van Heesch. * Copyright (C) 1997-2002 by Dimitri van Heesch. * * Loading Loading @@ -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 " ) ) { { Loading Loading
src/scanner.l +2 −2 Original line number Original line Diff line number Diff line /***************************************************************************** /***************************************************************************** * * * * $Id$ * * * Copyright (C) 1997-2002 by Dimitri van Heesch. * Copyright (C) 1997-2002 by Dimitri van Heesch. * * Loading Loading @@ -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 " ) ) { { Loading