diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-05-22 15:21:00 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2021-05-22 15:21:00 (GMT) |
commit | 608ca95d757ab473c5fe806f79107f07058fd465 (patch) | |
tree | 077e2e7cff5ba73067d3de488f784df2271c8dfd /src | |
parent | f21a2ed4ee63b3837e20cbb6332c4b6d8b1c6cc5 (diff) | |
parent | ee8fda1679a3facadbddb3c52ee177bb1d4cd16d (diff) | |
download | Doxygen-608ca95d757ab473c5fe806f79107f07058fd465.zip Doxygen-608ca95d757ab473c5fe806f79107f07058fd465.tar.gz Doxygen-608ca95d757ab473c5fe806f79107f07058fd465.tar.bz2 |
Merge branch 'feature/bug_predefined_space' of https://github.com/albert-github/doxygen into albert-github-feature/bug_predefined_space
Diffstat (limited to 'src')
-rw-r--r-- | src/pre.l | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -3258,22 +3258,16 @@ static void initPredefined(yyscan_t yyscanner,const QCString &fileName) size_t i=i_obrace+1; //printf("predefined function macro '%s'\n",ds.c_str()); int count = 0; - reg::Iterator arg_it(ds,reId,i); + reg::Iterator arg_it(args,reId,0); // gather the formal arguments in a dictionary while (i<i_cbrace && arg_it!=end) { const auto &match = *arg_it; - size_t pi = match.position(); size_t l = match.length(); if (l>0) // see bug375037 { argMap.emplace(match.str(),count); count++; - i=pi+l; - } - else - { - i++; } ++arg_it; } |