java-tree.def (CASE_EXPR, [...]): Kind is 'x', not '1'.

�
	* java-tree.def (CASE_EXPR, DEFAULT_EXPR):  Kind is 'x', not '1'.
	* parse.y (java_complete_tree):  For CASE_EXPR and DEFAULT_EXPR,
	set TREE_SIDE_EFFECTS (otherwise expand_expr may skip them).

From-SVN: r23829
This commit is contained in:
Per Bothner 1998-11-24 05:16:04 -08:00
parent f6c2a93cc0
commit 5863017420

View File

@ -35,10 +35,10 @@ DEFTREECODE (THIS_EXPR, "this", '1', 0)
/* Case statement expression.
Operand 1 is the case value. */
DEFTREECODE (CASE_EXPR, "case", '1', 1)
DEFTREECODE (CASE_EXPR, "case", 'x', 1)
/* Default statement expression. */
DEFTREECODE (DEFAULT_EXPR, "default", '1', 0)
DEFTREECODE (DEFAULT_EXPR, "default", 'x', 0)
/* Try expression
Operand 0 is the tried block,