diff --git a/components/compiler/scanner.cpp b/components/compiler/scanner.cpp index 24c13a1d2e..b06d683f7e 100644 --- a/components/compiler/scanner.cpp +++ b/components/compiler/scanner.cpp @@ -368,7 +368,7 @@ namespace Compiler { if (mIgnoreNewline) 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(); mLoc.mLiteral.clear();