silence operator precedence warning

pull/2740/head
Evil Eye 5 years ago
parent 8dc081a60d
commit fea7e68fe9

@ -368,7 +368,7 @@ namespace Compiler
{ {
if (mIgnoreNewline) if (mIgnoreNewline)
mErrorHandler.warning ("string contains newline character, make sure that it is intended", mLoc); mErrorHandler.warning ("string contains newline character, make sure that it is intended", mLoc);
else if (name.size() == 1 || name.size() == 2 && name[1] == '\r') else if (name.size() == 1 || (name.size() == 2 && name[1] == '\r'))
{ {
name.clear(); name.clear();
mLoc.mLiteral.clear(); mLoc.mLiteral.clear();

Loading…
Cancel
Save