From patha@softlab.ericsson.se:
* parse.y (switch_label): Use build, not build1, to construct DEFAULT_EXPR. From-SVN: r38745
This commit is contained in:
parent
c804f3f88d
commit
ac39dac023
@ -1,3 +1,9 @@
|
||||
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>
|
||||
|
||||
* lang.c (lang_decode_option): Change -MA to -MP.
|
||||
|
@ -1628,7 +1628,7 @@ switch_label:
|
||||
}
|
||||
| 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;
|
||||
java_method_add_stmt (current_function_decl, lab);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user