diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2006-10-17 21:08:10 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2006-10-17 21:08:10 (GMT) |
commit | 5e24df52170c1b19d8ef628f4e657bc35a7f300b (patch) | |
tree | 651eb2bd48ead1a4b189484058ee991c8a46463b /src | |
parent | 8a6cb1baa8edce0b56a07e97bd57f5d5dd756cb5 (diff) | |
download | Doxygen-5e24df52170c1b19d8ef628f4e657bc35a7f300b.zip Doxygen-5e24df52170c1b19d8ef628f4e657bc35a7f300b.tar.gz Doxygen-5e24df52170c1b19d8ef628f4e657bc35a7f300b.tar.bz2 |
Fixed bug handling const/volatile
Diffstat (limited to 'src')
-rw-r--r-- | src/util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp index 67c7c03..96f0e84 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1537,10 +1537,10 @@ QCString removeRedundantWhiteSpace(const QCString &s) { nextChar: char c=s.at(i); - if ((csp==0 && (i==0 || !isId(constScope[i-1])) && csp<6) && + if ((csp==0 && (i==0 || !isId(constScope[i-1])) || (csp>0 && csp<6)) && c==constScope[csp] ) csp++; else csp=0; - if ((vsp==0 && (i==0 || !isId(virtualScope[i-1])) && vsp<8) && + if ((vsp==0 && (i==0 || !isId(virtualScope[i-1])) || (vsp>0 && vsp<8)) && c==virtualScope[vsp] ) vsp++; else vsp=0; if (c=='"') // quoted string |