From: Daniel Arndt Date: Tue, 5 Jun 2018 21:12:11 +0000 (+0200) Subject: Fix muparser X-Git-Tag: v9.1.0-rc1~1072^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=beabe8881269bebb3a6146a15dabe73e0f496c06;p=dealii.git Fix muparser --- diff --git a/bundled/muparser_v2_2_4/src/muParserTokenReader.cpp b/bundled/muparser_v2_2_4/src/muParserTokenReader.cpp index fec0a14c4e..55daf8e1a6 100644 --- a/bundled/muparser_v2_2_4/src/muParserTokenReader.cpp +++ b/bundled/muparser_v2_2_4/src/muParserTokenReader.cpp @@ -902,7 +902,7 @@ namespace mu std::size_t iEnd(0), iSkip(0); // parser over escaped '\"' end replace them with '"' - for(iEnd=(int)strBuf.find( _T("\"") ); iEnd!=0 && iEnd!=string_type::npos; iEnd=(int)strBuf.find( _T("\""), iEnd)) + for(iEnd=(int)strBuf.find( _T('\"') ); iEnd!=0 && iEnd!=string_type::npos; iEnd=(int)strBuf.find( _T('\"'), iEnd)) { if (strBuf[iEnd-1]!='\\') break; strBuf.replace(iEnd-1, 2, _T("\"") );