diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2009-10-27 20:10:16 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2009-10-27 20:10:16 (GMT) |
commit | 0c751ba9f9a73ad649bf64cef4c9fdb82743b2f6 (patch) | |
tree | 7b31e0941321a116a730c80e26726da9202178c3 /src/pre.l | |
parent | 1042ef3a191bd0f399f1a2a20fe259c14fe6faf9 (diff) | |
download | Doxygen-0c751ba9f9a73ad649bf64cef4c9fdb82743b2f6.zip Doxygen-0c751ba9f9a73ad649bf64cef4c9fdb82743b2f6.tar.gz Doxygen-0c751ba9f9a73ad649bf64cef4c9fdb82743b2f6.tar.bz2 |
Release-1.6.1-20091027
Diffstat (limited to 'src/pre.l')
-rw-r--r-- | src/pre.l | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -512,7 +512,7 @@ static bool replaceFunctionMacro(const QCString &expr,QCString *rest,int pos,int len=0; result.resize(0); int cc; - while ((cc=getCurrentChar(expr,rest,j))!=EOF && cc==' ') + while ((cc=getCurrentChar(expr,rest,j))!=EOF && isspace(cc)) { len++; getNextChar(expr,rest,j); @@ -772,6 +772,7 @@ static int getNextId(const QCString &expr,int p,int *l) c=expr.at(p); p++; } + if (p<(int)expr.length()) ++p; // skip closing quote } else if (c=='/') // skip C Comment { |