Skip to content

Commit

Permalink
Use QCStringList::split i.s.o. QStringList::split
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Oct 28, 2018
1 parent f966786 commit d085205
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/defargs.l
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
#include <assert.h>
#include <ctype.h>
#include <qregexp.h>
#include <qstringlist.h>
#include <qcstringlist.h>

#include "defargs.h"
#include "entry.h"
Expand Down Expand Up @@ -108,8 +108,8 @@ static bool checkSpecialType(QCString &typ, QCString &nam)
{
if (nam == "unsigned" || nam == "signed" ||
nam == "volatile" || nam == "const") return TRUE;
QStringList qsl=QStringList::split(' ',typ);
for(uint j=0;j<qsl.count();j++)
QCStringList qsl=QCStringList::split(' ',typ);
for (uint j=0;j<qsl.count();j++)
{
if (!(qsl[j] == "unsigned" || qsl[j] == "signed" ||
qsl[j] == "volatile" || qsl[j] == "const")) return FALSE;
Expand Down Expand Up @@ -398,7 +398,7 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
a->type.mid(sv)=="union" ||
a->type.mid(sv)=="class" ||
a->type.mid(sv)=="typename" ||
checkSpecialType(a->type, a->name)
checkSpecialType(a->type, a->name)
)
{
a->type = a->type + " " + a->name;
Expand Down

0 comments on commit d085205

Please sign in to comment.