aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1991-09-20 19:30:36 +0000
committerStu Grossman <grossman@cygnus>1991-09-20 19:30:36 +0000
commit9ce7cb7c52a78d7eb5c4a8e669172857e51f2d17 (patch)
tree13005107ab41e8e88186ec0f565e45025455a285 /gdb
parente9f82257cf0c23d698955debe454ef68ffffc564 (diff)
downloadgdb-9ce7cb7c52a78d7eb5c4a8e669172857e51f2d17.zip
gdb-9ce7cb7c52a78d7eb5c4a8e669172857e51f2d17.tar.gz
gdb-9ce7cb7c52a78d7eb5c4a8e669172857e51f2d17.tar.bz2
#define yyerrflag and yynerrs to avoid global name conflicts.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/c-exp.y2
-rw-r--r--gdb/m2-exp.y2
2 files changed, 4 insertions, 0 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index c7cf672..54ce28b 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 5beefe6..ce81e63 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 ();