aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/gofrontend/parse.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-10-03 05:03:24 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-10-03 05:03:24 +0000
commitbed6238ce677ba18a672a58bc077cec6de47f8d3 (patch)
treeab7c01c445668c3a6b071f77508f899f2162fdb7 /gcc/go/gofrontend/parse.h
parente1d90a813cad65eaf96f5e09f5e3b2d531ef76dd (diff)
downloadgcc-bed6238ce677ba18a672a58bc077cec6de47f8d3.zip
gcc-bed6238ce677ba18a672a58bc077cec6de47f8d3.tar.gz
gcc-bed6238ce677ba18a672a58bc077cec6de47f8d3.tar.bz2
compiler: Fix a, b, c := b, a, 1 when a and b already exist.
From-SVN: r192022
Diffstat (limited to 'gcc/go/gofrontend/parse.h')
-rw-r--r--gcc/go/gofrontend/parse.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/parse.h b/gcc/go/gofrontend/parse.h
index fb5c1f1..a355b7d 100644
--- a/gcc/go/gofrontend/parse.h
+++ b/gcc/go/gofrontend/parse.h
@@ -206,8 +206,11 @@ class Parse
Expression*, bool is_coloneq,
Location);
Named_object* init_var(const Typed_identifier&, Type*, Expression*,
- bool is_coloneq, bool type_from_init, bool* is_new);
+ bool is_coloneq, bool type_from_init, bool* is_new,
+ Expression_list* vars, Expression_list* vals);
Named_object* create_dummy_global(Type*, Expression*, Location);
+ void finish_init_vars(Expression_list* vars, Expression_list* vals,
+ Location);
void simple_var_decl_or_assignment(const std::string&, Location,
bool may_be_composite_lit,
Range_clause*, Type_switch*);