aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/gofrontend/parse.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-10-02 22:22:28 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-10-02 22:22:28 +0000
commite395eacb4e15d30cf9862b6e73dd05c2dab58364 (patch)
treeb3483b5c8da16d6e9e82cbe8d4f7e81eeed60319 /gcc/go/gofrontend/parse.h
parentd8ea0885d7c1403a7f9e85fe2b67d0c223565992 (diff)
downloadgcc-e395eacb4e15d30cf9862b6e73dd05c2dab58364.zip
gcc-e395eacb4e15d30cf9862b6e73dd05c2dab58364.tar.gz
gcc-e395eacb4e15d30cf9862b6e73dd05c2dab58364.tar.bz2
compiler: Fix parse of (<- chan <- chan <- int)(x).
From-SVN: r192011
Diffstat (limited to 'gcc/go/gofrontend/parse.h')
-rw-r--r--gcc/go/gofrontend/parse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/go/gofrontend/parse.h b/gcc/go/gofrontend/parse.h
index 3139f7e..fb5c1f1 100644
--- a/gcc/go/gofrontend/parse.h
+++ b/gcc/go/gofrontend/parse.h
@@ -14,6 +14,7 @@ class Named_object;
class Type;
class Typed_identifier;
class Typed_identifier_list;
+class Channel_type;
class Function_type;
class Block;
class Expression;
@@ -229,6 +230,7 @@ class Parse
bool expression_may_start_here();
Expression* unary_expr(bool may_be_sink, bool may_be_composite_lit,
bool* is_type_switch);
+ Type* reassociate_chan_direction(Channel_type*, Location);
Expression* qualified_expr(Expression*, Location);
Expression* id_to_expression(const std::string&, Location);
void statement(Label*);