@@ -226,8 +226,6 @@ static void addKnRArgInfo(yyscan_t yyscanner,const QCString &type,const QCString
226
226
const QCString &brief,const QCString &docs);
227
227
static yy_size_t yyread (yyscan_t yyscanner,char *buf,yy_size_t max_size);
228
228
229
- static QCString removeWhiteSpace (const QCString &s);
230
-
231
229
/* ----------------------------------------------------------------- */
232
230
#undef YY_INPUT
233
231
#define YY_INPUT (buf,result,max_size ) result=yyread(yyscanner,buf,max_size);
@@ -2346,7 +2344,7 @@ NONLopt [^\n]*
2346
2344
BEGIN(FindMembers);
2347
2345
}
2348
2346
}
2349
- yyextra->current->name = removeWhiteSpace( yyextra->current->name);
2347
+ yyextra->current->name = yyextra->current->name.removeWhiteSpace( );
2350
2348
}
2351
2349
<StaticAssert>" (" {
2352
2350
yyextra->lastSkipRoundContext = FindMembers;
@@ -7706,19 +7704,6 @@ static void parsePrototype(yyscan_t yyscanner,const QCString &text)
7706
7704
//printf(" **** parsePrototype end\n" );
7707
7705
}
7708
7706
7709
- // removeRedundantWhiteSpace does not work as it will leave e.g. " foo:: bar"
7710
- static QCString removeWhiteSpace(const QCString &s)
7711
- {
7712
- QCString res;
7713
- uint l=s.length();
7714
- const char *src=s.data();
7715
- for (uint i = 0;i<l;i++)
7716
- {
7717
- if (!isspace((uchar)src[i])) res += src[i];
7718
- }
7719
- return res;
7720
- }
7721
-
7722
7707
//static void handleGroupStartCommand(const char *header)
7723
7708
//{
7724
7709
// memberGroupHeader=header;
0 commit comments