OSDN Git Service

d
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Feb 1999 16:33:22 +0000 (16:33 +0000)
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Feb 1999 16:33:22 +0000 (16:33 +0000)
commit769a791f88007252e570a888e13a7ce1699f34e9
treeeba87d455cc8640b3e17a6c95b007f65a6035406
parentfcd11df49f13d6129499061f6b6c9768c3864187
d
Force left-to-right evaluation of binary operations etc.
* expr.c (force_evaluation_order), java-tree.h:  New function.
* parse.y (java_complete_lhs):  Pass binary operations, procedure
calls, and ARRAY_REFs to force_evaluation_order.
(various):  Set TREE_SIDE_EFFECTS more carefully.
Tolerate random (non-UTF8) encoding in comments without complaining.
* lex.c (java_read_char):  Return 0xFFFE if bad UTF8 encoding.
(java_is_eol):  Handle '\r' followed by '\n' instead of vice versa.
* parse.y (resolve_qualified_expression_name):  Handle error_mark.
(java_complete_node case EXPR_WITH_FILE_LOCATION):  Likewise.
* parse.y (java_complete_lhs):  Ignore an empty statement in a
COMPOUND_EXPR.  Don't complain about empty statement after return.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25328 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/lex.c
gcc/java/parse.y