Commit 3ab6dd7c by H.J. Lu Committed by Jeff Law

c-lex.c (yyprint): Add prototype.

	* c-lex.c (yyprint): Add prototype.
	(check_newline, build_objc_string): Remove declaration.

From-SVN: r20604
parent 0bb0a00b
Fri Jun 19 20:38:34 1998 H.J. Lu (hjl@gnu.org) Fri Jun 19 20:38:34 1998 H.J. Lu (hjl@gnu.org)
* c-lex.c (yyprint): Add prototype.
(check_newline, build_objc_string): Remove declaration.
* c-tree.h (comptypes_record_hook): Removed. * c-tree.h (comptypes_record_hook): Removed.
(finish_incomplete_decl): New prototype. (finish_incomplete_decl): New prototype.
......
...@@ -53,6 +53,8 @@ extern cpp_options parse_options; ...@@ -53,6 +53,8 @@ extern cpp_options parse_options;
FILE *finput; FILE *finput;
#endif #endif
extern void yyprint PROTO((FILE *, int, YYSTYPE));
/* The elements of `ridpointers' are identifier nodes /* The elements of `ridpointers' are identifier nodes
for the reserved type names and storage classes. for the reserved type names and storage classes.
It is indexed by a RID_... value. */ It is indexed by a RID_... value. */
...@@ -122,7 +124,6 @@ static int skip_white_space PROTO((int)); ...@@ -122,7 +124,6 @@ static int skip_white_space PROTO((int));
static int skip_white_space_on_line PROTO((void)); static int skip_white_space_on_line PROTO((void));
static char *extend_token_buffer PROTO((char *)); static char *extend_token_buffer PROTO((char *));
static int readescape PROTO((int *)); static int readescape PROTO((int *));
int check_newline ();
/* Do not insert generated code into the source, instead, include it. /* Do not insert generated code into the source, instead, include it.
This allows us to build gcc automatically even for targets that This allows us to build gcc automatically even for targets that
...@@ -1988,7 +1989,6 @@ yylex () ...@@ -1988,7 +1989,6 @@ yylex ()
} }
else if (objc_flag) else if (objc_flag)
{ {
extern tree build_objc_string();
/* Return an Objective-C @"..." constant string object. */ /* Return an Objective-C @"..." constant string object. */
yylval.ttype = build_objc_string (p - token_buffer, yylval.ttype = build_objc_string (p - token_buffer,
token_buffer + 1); token_buffer + 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment