diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-03-23 22:59:18 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-03-23 22:59:18 +0000 |
commit | 8c866b45aac0decda72b72e54c31a41996f6b473 (patch) | |
tree | 6efc2323844d0a320c4bbb2d9ba8cc52342a73a6 /gcc/c-parse.y | |
parent | 2b63b35121b02d09892ec150dcb4a5b481d7f6d6 (diff) |
* c-parse.in: Recognize protocol qualifiers in class
definitions for objc.
Include "output.h".
(yyerror): Remove redundant decl.
(yyprint): Fix prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18788 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-parse.y')
-rw-r--r-- | gcc/c-parse.y | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/c-parse.y b/gcc/c-parse.y index 68d38e0983a..bb783f0acf6 100644 --- a/gcc/c-parse.y +++ b/gcc/c-parse.y @@ -65,6 +65,7 @@ State 434 contains 2 shift/reduce conflicts. (Four ways to parse this.) */ #include "c-lex.h" #include "c-tree.h" #include "flags.h" +#include "output.h" #ifdef MULTIBYTE_CHARS #include <stdlib.h> @@ -80,8 +81,6 @@ char *language_string = "GNU C"; extern int errno; #endif -void yyerror (); - /* Like YYERROR but do call yyerror. */ #define YYERROR1 { yyerror ("syntax error"); YYERROR; } @@ -232,7 +231,7 @@ static int undeclared_variable_notice; /* Tell yyparse how to print a token's value, if yydebug is set. */ #define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL) -extern void yyprint (); +extern void yyprint PROTO ((FILE *, int, YYSTYPE)); %} %% |