Commit ac39dac0 by Bryce McKinlay Committed by Bryce McKinlay

From patha@softlab.ericsson.se:

	* parse.y (switch_label): Use build, not build1, to construct
	DEFAULT_EXPR.

From-SVN: r38745
parent c804f3f8
2001-01-05 Bryce McKinlay <bryce@albatross.co.nz>
From patha@softlab.ericsson.se:
* parse.y (switch_label): Use build, not build1, to construct
DEFAULT_EXPR.
2001-01-04 Neil Booth <neil@daikokuya.demon.co.uk> 2001-01-04 Neil Booth <neil@daikokuya.demon.co.uk>
* lang.c (lang_decode_option): Change -MA to -MP. * lang.c (lang_decode_option): Change -MA to -MP.
......
...@@ -1628,7 +1628,7 @@ switch_label: ...@@ -1628,7 +1628,7 @@ switch_label:
} }
| DEFAULT_TK REL_CL_TK | DEFAULT_TK REL_CL_TK
{ {
tree lab = build1 (DEFAULT_EXPR, NULL_TREE, NULL_TREE); tree lab = build (DEFAULT_EXPR, NULL_TREE, NULL_TREE);
EXPR_WFL_LINECOL (lab) = $1.location; EXPR_WFL_LINECOL (lab) = $1.location;
java_method_add_stmt (current_function_decl, lab); java_method_add_stmt (current_function_decl, lab);
} }
......
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