diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-21 07:39:52 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-21 07:39:52 +0000 |
commit | 9a74eafd327ebc742ad68316b3797a7399a17800 (patch) | |
tree | bf302f0b96b0df7401aed3a7535da9fbf23c5932 /gcc/c-parse.in | |
parent | 1ea04b16013dbed073979dc6bb0d43857eb2a2d3 (diff) | |
download | gcc-9a74eafd327ebc742ad68316b3797a7399a17800.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37607 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-parse.in')
-rw-r--r-- | gcc/c-parse.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/c-parse.in b/gcc/c-parse.in index 517b488c9d9..5943fa4024a 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 |