diff options
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/parse.y | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 057c9e1ed6f..367769845e5 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2002-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * parse.y (merge_string_cste): Add parentheses around & within |. + 2002-10-08 Tom Tromey <tromey@redhat.com> * parse.y (variable_declarator_id): Simplify error path for diff --git a/gcc/java/parse.y b/gcc/java/parse.y index 3cc58c9a5d8..783c5d37a0d 100644 --- a/gcc/java/parse.y +++ b/gcc/java/parse.y @@ -13777,7 +13777,7 @@ merge_string_cste (op1, op2, after) else { *p++ = c >> 6 | 0xc0; - *p++ = c & 0x3f | 0x80; + *p++ = (c & 0x3f) | 0x80; } *p = '\0'; |