aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-03-01 17:23:41 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-03-01 17:23:41 +0000
commitea082c0ac837ffb4b56bb57e4c38fd128731e422 (patch)
tree2ff19bf2fb1f629ebe0ec7a0af06c22e705295e7
parentd842ea0b173268b81ddce9878d69eddf2e89e258 (diff)
downloadfsf-binutils-gdb-ea082c0ac837ffb4b56bb57e4c38fd128731e422.zip
fsf-binutils-gdb-ea082c0ac837ffb4b56bb57e4c38fd128731e422.tar.gz
fsf-binutils-gdb-ea082c0ac837ffb4b56bb57e4c38fd128731e422.tar.bz2
Add Linux yacc suport.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/c-exp.y9
-rw-r--r--gdb/ch-exp.y9
-rw-r--r--gdb/f-exp.y9
-rw-r--r--gdb/m2-exp.y9
5 files changed, 42 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6f89ae2..8a35495 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+Wed Mar 1 12:17:31 1995 Michael Meissner <meissner@cygnus.com>
+
+ * ch-exp.y, c-exp.y, f-exp.y, m2-exp.y (yy defines): Support the
+ standard Linux yacc by adding more names to be redefined with a
+ prefix.
+
Tue Feb 28 22:55:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* hppa-tdep.c (pa_print_registers), monitor.c: Use
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index fc88cab..77816af 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -84,6 +84,15 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define yylloc c_lloc
#define yyreds c_reds /* With YYDEBUG defined */
#define yytoks c_toks /* With YYDEBUG defined */
+#define yylhs c_yylhs
+#define yylen c_yylen
+#define yydefred c_yydefred
+#define yydgoto c_yydgoto
+#define yysindex c_yysindex
+#define yyrindex c_yyrindex
+#define yygindex c_yygindex
+#define yytable c_yytable
+#define yycheck c_yycheck
#ifndef YYDEBUG
#define YYDEBUG 0 /* Default to no yydebug support */
diff --git a/gdb/ch-exp.y b/gdb/ch-exp.y
index 98e890d..62719a2 100644
--- a/gdb/ch-exp.y
+++ b/gdb/ch-exp.y
@@ -101,6 +101,15 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define yylloc chill_lloc
#define yyreds chill_reds /* With YYDEBUG defined */
#define yytoks chill_toks /* With YYDEBUG defined */
+#define yylhs chill_yylhs
+#define yylen chill_yylen
+#define yydefred chill_yydefred
+#define yydgoto chill_yydgoto
+#define yysindex chill_yysindex
+#define yyrindex chill_yyrindex
+#define yygindex chill_yygindex
+#define yytable chill_yytable
+#define yycheck chill_yycheck
#ifndef YYDEBUG
#define YYDEBUG 0 /* Default to no yydebug support */
diff --git a/gdb/f-exp.y b/gdb/f-exp.y
index 741d76c..71a219d 100644
--- a/gdb/f-exp.y
+++ b/gdb/f-exp.y
@@ -89,6 +89,15 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define yylloc f_lloc
#define yyreds f_reds /* With YYDEBUG defined */
#define yytoks f_toks /* With YYDEBUG defined */
+#define yylhs f_yylhs
+#define yylen f_yylen
+#define yydefred f_yydefred
+#define yydgoto f_yydgoto
+#define yysindex f_yysindex
+#define yyrindex f_yyrindex
+#define yygindex f_yygindex
+#define yytable f_yytable
+#define yycheck f_yycheck
#ifndef YYDEBUG
#define YYDEBUG 1 /* Default to no yydebug support */
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y
index 81d791c..51cdfce 100644
--- a/gdb/m2-exp.y
+++ b/gdb/m2-exp.y
@@ -86,6 +86,15 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define yylloc m2_lloc
#define yyreds m2_reds /* With YYDEBUG defined */
#define yytoks m2_toks /* With YYDEBUG defined */
+#define yylhs m2_yylhs
+#define yylen m2_yylen
+#define yydefred m2_yydefred
+#define yydgoto m2_yydgoto
+#define yysindex m2_yysindex
+#define yyrindex m2_yyrindex
+#define yygindex m2_yygindex
+#define yytable m2_yytable
+#define yycheck m2_yycheck
#ifndef YYDEBUG
#define YYDEBUG 0 /* Default to no yydebug support */