diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-02-13 17:58:11 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2021-02-20 19:17:50 (GMT) |
commit | 8c73f532713df7c6e7a4ffd438faee1f8666d5c8 (patch) | |
tree | 73aafb2ce982d41967ab3e68eb41d2aa548278f2 /src | |
parent | b6a6121a11d989c811d92d7f169be9f0da772438 (diff) | |
download | Doxygen-8c73f532713df7c6e7a4ffd438faee1f8666d5c8.zip Doxygen-8c73f532713df7c6e7a4ffd438faee1f8666d5c8.tar.gz Doxygen-8c73f532713df7c6e7a4ffd438faee1f8666d5c8.tar.bz2 |
Refactoring: replace QRegExp by std::regex in fortranscanner.l
Diffstat (limited to 'src')
-rw-r--r-- | src/fortranscanner.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fortranscanner.l b/src/fortranscanner.l index 74d6d03..e43e0f4 100644 --- a/src/fortranscanner.l +++ b/src/fortranscanner.l @@ -56,7 +56,6 @@ #include <assert.h> #include <ctype.h> -#include <qregexp.h> #include <qfile.h> #include "fortranscanner.h" @@ -1151,7 +1150,8 @@ private { if (yyextra->ifType == IF_ABSTRACT || yyextra->ifType == IF_SPECIFIC) { - yyextra->current_root->name.replace(QRegExp("\\$interface\\$"), yytext); + yyextra->current_root->name = substitute( + yyextra->current_root->name, "$interface$", yytext); } BEGIN(Parameterlist); |