Add missing parentheses for bit operations where type cast is used.

Fix for #853. These modifications are required by gcc 4.9 or above.

JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.u-szeged@partner.samsung.com
This commit is contained in:
Roland Takacs
2016-02-09 09:58:50 +01:00
committed by László Langó
parent 02b001e479
commit cd6ff690d0
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1767,7 +1767,7 @@ lexer_construct_regexp_object (parser_context_t *context_p, /**< context */
parser_raise_error (context_p, PARSER_ERR_DUPLICATED_REGEXP_FLAG);
}
current_flags |= (uint16_t) flag;
current_flags = (uint16_t) (current_flags | flag);
source_p++;
column++;
}