From: Stu Grossman Date: Fri, 20 Sep 1991 19:30:36 +0000 (+0000) Subject: #define yyerrflag and yynerrs to avoid global name conflicts. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ce7cb7c52a78d7eb5c4a8e669172857e51f2d17;p=binutils-gdb.git #define yyerrflag and yynerrs to avoid global name conflicts. --- diff --git a/gdb/c-exp.y b/gdb/c-exp.y index c7cf672c8a0..54ce28b34ae 100644 --- a/gdb/c-exp.y +++ b/gdb/c-exp.y @@ -55,6 +55,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define yypgo c_pgo #define yyact c_act #define yyexca c_exca +#define yyerrflag c_errflag +#define yynerrs c_nerrs /* Forward decls */ void yyerror (); diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y index 5beefe6c8b1..ce81e63c99b 100644 --- a/gdb/m2-exp.y +++ b/gdb/m2-exp.y @@ -55,6 +55,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define yypgo m2_pgo #define yyact m2_act #define yyexca m2_exca +#define yyerrflag m2_errflag +#define yynerrs m2_nerrs /* Forward decl's */ void yyerror ();