diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-03 18:54:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 18:54:18 (GMT) |
commit | 23a88bee679fb545a4d22ac10f10203cb575056b (patch) | |
tree | a6943dfa74967be46a5cd65d2c4361afe2d3f0a4 /addon/doxyparse/doxyparse.cpp | |
parent | 789625caed4097a075819b7d7299ab1a808fcf08 (diff) | |
parent | cc78ebc6ad3d24d25ac779eeed9fb5fa3c89ee27 (diff) | |
download | Doxygen-23a88bee679fb545a4d22ac10f10203cb575056b.zip Doxygen-23a88bee679fb545a4d22ac10f10203cb575056b.tar.gz Doxygen-23a88bee679fb545a4d22ac10f10203cb575056b.tar.bz2 |
Merge branch 'master' into feature/bug_lex
Diffstat (limited to 'addon/doxyparse/doxyparse.cpp')
-rw-r--r-- | addon/doxyparse/doxyparse.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/addon/doxyparse/doxyparse.cpp b/addon/doxyparse/doxyparse.cpp index dde9eb1..4059861 100644 --- a/addon/doxyparse/doxyparse.cpp +++ b/addon/doxyparse/doxyparse.cpp @@ -42,7 +42,6 @@ #include <map> #include <qdir.h> #include <qcstring.h> -#include <qregexp.h> #include "namespacedef.h" #include "portable.h" @@ -184,8 +183,8 @@ static int isPartOfCStruct(const MemberDef * md) { std::string sanitizeString(std::string data) { QCString new_data = QCString(data.c_str()); - new_data.replace(QRegExp("\""), ""); - new_data.replace(QRegExp("\\"), ""); // https://github.com/analizo/analizo/issues/138 + new_data = substitute(new_data,"\"", ""); + new_data = substitute(new_data,"\'", ""); // https://github.com/analizo/analizo/issues/138 return !new_data.isEmpty() ? new_data.data() : ""; } |