We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a6d980 commit dffe9fdCopy full SHA for dffe9fd
source/cppfront.cpp
@@ -1031,6 +1031,16 @@ class cppfront
1031
}
1032
ret += text.substr(current_start);
1033
1034
+ // Trim any stray "" pieces
1035
+ auto match = std::string::size_type{};
1036
+ while ((match = ret.find("\"\" + ", match)) != ret.npos) {
1037
+ ret.replace(match, 5, "");
1038
+ }
1039
+ match = 0;
1040
+ while ((match = ret.find(" + \"\"", match)) != ret.npos) {
1041
1042
1043
+
1044
return ret;
1045
1046
0 commit comments