Add compound_list to backend interface.
authorIan Lance Taylor <iant@google.com>
Fri, 15 Apr 2011 21:18:58 +0000 (21:18 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 15 Apr 2011 21:18:58 +0000 (21:18 +0000)
commit00b44a6e1e2dea070bf9e3323c77422c76f65058
tree3e1ab62aa60980f2a3e9ed7cc27f39ca7964b8ef
parenteb229cf45a207f2c75bbab37ecbe7caa4f23b853
Add compound_list to backend interface.

* go-gcc.cc (Gcc_backend::compound_statement): New function.
(Gcc_backend::assignment_statement): Use error_statement.
(Gcc_backend::return_statement): Likewise.
(Gcc_backend::if_statement): Likewise.
(Gcc_backend::switch_statement): Likewise.
(Gcc_backend::statement_list): Likewise.

From-SVN: r172521
gcc/go/ChangeLog
gcc/go/go-gcc.cc
gcc/go/gofrontend/backend.h
gcc/go/gofrontend/statements.cc