Browse Source

Merge pull request #11801 from richardkchapman/osx-error-20701

HPCC-20701 OSX Build error

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 6 years ago
parent
commit
fac58eb2d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ecl/hql/hqlgram2.cpp

+ 1 - 1
ecl/hql/hqlgram2.cpp

@@ -6173,7 +6173,7 @@ static bool includeError(HqlLookupContext & ctx, WarnErrorCategory category)
 {
     if (ctx.syntaxChecking() && !ctx.ignoreCache())
     {
-        if (category==CategorySyntax && category==CategoryError)
+        if (category==CategorySyntax || category==CategoryError)
             return true;
         else
             return false;