Commit 58630174 by Per Bothner

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
parent f6c2a93c
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment