diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-09 20:54:37 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-09 20:54:37 +0000 |
commit | 4da4eda7beeba98283efeda124448decd66ef645 (patch) | |
tree | 4e9b70072495066681bf780356004b39596f1dd6 | |
parent | 20c357cb6a0f2b7a62a327512e48ce294e2327f9 (diff) | |
download | gcc-4da4eda7beeba98283efeda124448decd66ef645.tar.gz |
* parse.y (merge_string_cste): Add parentheses around & within |.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57991 138bc75d-0d04-0410-961f-82ee72b054a4
-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'; |