Here's link to patch https://sourceforge....752&atid=821100
In add_on/scriptstdstring ternary operator usage is wrong:
//bool b;
stream << b ? "true" : "false";
The '?:' operator has a lower priority than the '<<' operator, so this is equivalent to
(stream << b) ? "true" : "false";
and this is equivalent to
stream << b;
Proper variant is
stream << (b ? "true" : "false");
I'm not sure if current version leads to any bugs, but it is definitely wrong. I attached patch, that add braces for ternary operators in scriptstdstring.