summaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-11 06:38:48 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-11 06:38:48 +0000
commitd0a47c8d249dba52c8718c62d27990a4f18f2a34 (patch)
tree1a696e8ab4e8b4b64edcb8b6dc6f47202bb5ddae /gcc/c-common.h
parent84cadbf70ff877cd28c0febff558fab5aa0e4a31 (diff)
downloadgcc-d0a47c8d249dba52c8718c62d27990a4f18f2a34.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41959 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 32d7ec99003..0c2f23a8c23 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