diff options
author | Bryce McKinlay <bryce@albatross.co.nz> | 2001-01-06 05:06:02 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2001-01-06 05:06:02 +0000 |
commit | ac39dac023bfd399ea3675204a1d69ee04c79151 (patch) | |
tree | ed667ba6b966f2f585486494af29c7f6c573ac72 /gcc/java/parse.y | |
parent | c804f3f88db54b3e3e3ea9b6a769d1e638f9b68a (diff) | |
download | gcc-ac39dac023bfd399ea3675204a1d69ee04c79151.zip gcc-ac39dac023bfd399ea3675204a1d69ee04c79151.tar.gz gcc-ac39dac023bfd399ea3675204a1d69ee04c79151.tar.bz2 |
From patha@softlab.ericsson.se:
* parse.y (switch_label): Use build, not build1, to construct
DEFAULT_EXPR.
From-SVN: r38745
Diffstat (limited to 'gcc/java/parse.y')
-rw-r--r-- | gcc/java/parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/parse.y b/gcc/java/parse.y index 1dc6016..9dc5804 100644 --- a/gcc/java/parse.y +++ b/gcc/java/parse.y @@ -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); } |