diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-05-11 06:38:48 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-05-11 06:38:48 +0000 |
commit | 15b732b28893897ac585cf62e2646f001a22531f (patch) | |
tree | 1a696e8ab4e8b4b64edcb8b6dc6f47202bb5ddae /gcc/c-common.h | |
parent | 8e93d44655a8a0cee4a687ac973a54d847e4924b (diff) | |
download | gcc-15b732b28893897ac585cf62e2646f001a22531f.zip gcc-15b732b28893897ac585cf62e2646f001a22531f.tar.gz gcc-15b732b28893897ac585cf62e2646f001a22531f.tar.bz2 |
c-common.c (finish_label_expr): New function, lifted from from cp/semantics.c.
* c-common.c (finish_label_expr): New function, lifted from
from cp/semantics.c.
* c-common.h (finish_label_expr, lookup_label): New prototypes.
* c-parse.in: Move 3 blocks of parser code into new functions.
* c-typeck.c (simple_asm_stmt, c_cast_expr): New functions.
* c-tree.h (simple_asm_stmt, c_cast_expr): New prototypes.
(lookup_label): Remove.
From-SVN: r41959
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r-- | gcc/c-common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index 32d7ec9..0c2f23a 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -783,6 +783,12 @@ extern tree c_add_case_label PARAMS ((splay_tree, extern tree build_function_call PARAMS ((tree, tree)); +extern tree finish_label_address_expr PARAMS ((tree)); + +/* Same function prototype, but the C and C++ front ends have + different implementations. Used in c-common.c. */ +extern tree lookup_label PARAMS ((tree)); + /* If this variable is defined to a non-NULL value, it will be called after the file has been completely parsed. The argument will be the GLOBAL_NAMESPACE in C++, or the list of top-level declarations |