Added missing logical operator in js-parser-expr (#3293)

This fix is needed to build JerryScript 2.1 on a STM board.

JerryScript-DCO-1.0-Signed-off-by: bence gabor kis kisbg@inf.u-szeged.hu
This commit is contained in:
kisbg
2019-11-08 16:10:51 +01:00
committed by Dániel Bátyai
parent 798655a871
commit 4996542f02
+1 -1
View File
@@ -2154,7 +2154,7 @@ parser_parse_expression (parser_context_t *context_p, /**< context */
*
* If this is not done, it is possible to carry the flag over to the next expression.
*/
bool has_super_ref = (context_p->status_flags & PARSER_CLASS_SUPER_PROP_REFERENCE);
bool has_super_ref = (context_p->status_flags & PARSER_CLASS_SUPER_PROP_REFERENCE) != 0;
context_p->status_flags &= (uint32_t) ~PARSER_CLASS_SUPER_PROP_REFERENCE;
#endif