aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-tree.h
diff options
context:
space:
mode:
authorDave Brolley <brolley@cygnus.com>1998-05-21 08:54:04 +0000
committerDave Brolley <brolley@gcc.gnu.org>1998-05-21 04:54:04 -0400
commitc87248620c69e3cc5234e16889c7051b372cb61a (patch)
tree90fed89e61e9fd2bf61cf04959aef270cf529fdb /gcc/c-tree.h
parent39d6585022489902100df3dc47f799183c6aeac1 (diff)
downloadgcc-c87248620c69e3cc5234e16889c7051b372cb61a.zip
gcc-c87248620c69e3cc5234e16889c7051b372cb61a.tar.gz
gcc-c87248620c69e3cc5234e16889c7051b372cb61a.tar.bz2
configure.in (extra_c_objs): add prefix.o.
Thu May 21 11:51:15 1998 Dave Brolley <brolley@cygnus.com> * configure.in (extra_c_objs): add prefix.o. (extra_cxx_objs): extra objects for C++ with cpplib. * configure: Regenerate. * c-tree.h: (get_directive_line): Different prototype for cpplib. (GET_DIRECTIVE_LINE): Macro wrapper for get_directive_line. * c-lex.h: (get_directive_line): Not needed here for cpplib. * c-lex.c: (yy_cur,yy_lim,yy_get_token): Move to c-common.c. (GET_DIRECTIVE_LINE): Move to c-common.c and rename to get_directive_line. * c-common.c (parse_in,parse_options,cpp_token): Declare for cpplib. (yy_cur,yy_lim,yy_get_token,get_directive,line): Moved here from c-lex.c From-SVN: r19926
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r--gcc/c-tree.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h
index cca9388..6fa5c47 100644
--- a/gcc/c-tree.h
+++ b/gcc/c-tree.h
@@ -180,7 +180,14 @@ extern tree convert_and_check PROTO((tree, tree));
extern void overflow_warning PROTO((tree));
extern void unsigned_conversion_warning PROTO((tree, tree));
/* Read the rest of the current #-directive line. */
+#if USE_CPPLIB
+extern char *get_directive_line PROTO((void));
+#define GET_DIRECTIVE_LINE() get_directive_line ()
+#else
extern char *get_directive_line PROTO((FILE *));
+#define GET_DIRECTIVE_LINE() get_directive_line (finput)
+#endif
+
/* Subroutine of build_binary_op, used for comparison operations.
See if the operands have both been converted from subword integer types
and, if so, perhaps change them both back to their original type. */