From 3aac38d70cbb15e40c377d39dd612df4d16ad259 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 20 Nov 2000 23:39:52 -0800 Subject: parse.y (yyparse_1): Rename the parser entry point. * cp/parse.y (yyparse_1): Rename the parser entry point. * c-lex.c (orig_filename): New variable. (init_c_lex): Set it. Move call to cpp_start_read ... (yyparse): ... here. New function. * c-parse.in (yyparse_1): Rename the parser entry point. * c-tree.h: Declare it. From-SVN: r37607 --- gcc/c-parse.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gcc/c-parse.in') diff --git a/gcc/c-parse.in b/gcc/c-parse.in index 517b488..5943fa4 100644 --- a/gcc/c-parse.in +++ b/gcc/c-parse.in @@ -72,8 +72,11 @@ end ifc /* Like YYERROR but do call yyerror. */ #define YYERROR1 { yyerror ("syntax error"); YYERROR; } -/* Cause the `yydebug' variable to be defined. */ +/* Cause the "yydebug" variable to be defined. */ #define YYDEBUG 1 + +/* Rename the "yyparse" function so that we can override it elsewhere. */ +#define yyparse yyparse_1 %} %start program -- cgit v1.1