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.
2 parents b6fc953 + 031d40c commit 33499f8Copy full SHA for 33499f8
src/attributes.cpp
@@ -1440,6 +1440,13 @@ namespace attributes {
1440
// check for name
1441
std::string name;
1442
if (pos != std::string::npos) {
1443
+ // insert whitespace if variables are joint with '&'
1444
+ std::string::size_type ref_pos = arg.substr(pos).find_last_of("&");
1445
+ if (ref_pos != std::string::npos) {
1446
+ pos += ref_pos + 1;
1447
+ arg.insert(pos, " ");
1448
+ }
1449
+
1450
name = arg.substr(pos);
1451
trimWhitespace(&name);
1452
}
0 commit comments