diff options
author | Roger Sayle <roger@eyesopen.com> | 2005-05-09 20:48:33 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2005-05-09 20:48:33 +0000 |
commit | 43f6dfd3ec224e73a7175987f651b3d455f7803f (patch) | |
tree | 55b63c7bc470ab9a0ee49ea53a931e7a2f5a48d4 /gcc/c-tree.h | |
parent | 32df413ae734d59d5579b05b1751ebe7a79ac014 (diff) | |
download | gcc-43f6dfd3ec224e73a7175987f651b3d455f7803f.zip gcc-43f6dfd3ec224e73a7175987f651b3d455f7803f.tar.gz gcc-43f6dfd3ec224e73a7175987f651b3d455f7803f.tar.bz2 |
c-tree.h (parser_build_unary_op): New prototype.
* c-tree.h (parser_build_unary_op): New prototype.
* c-typeck.c (parser_build_unary_op): New function to construct
a unary operation in the C parser.
* c-parser.c (c_parser_unary_expression): Use the new function
parser_build_unary_op when appropriate.
From-SVN: r99471
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r-- | gcc/c-tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h index c22ae8a..7af8130 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -531,6 +531,7 @@ extern tree build_external_ref (tree, int, location_t); extern void pop_maybe_used (bool); extern struct c_expr c_expr_sizeof_expr (struct c_expr); extern struct c_expr c_expr_sizeof_type (struct c_type_name *); +extern struct c_expr parser_build_unary_op (enum tree_code, struct c_expr); extern struct c_expr parser_build_binary_op (enum tree_code, struct c_expr, struct c_expr); extern tree build_conditional_expr (tree, tree, tree); |