From ea082c0ac837ffb4b56bb57e4c38fd128731e422 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Wed, 1 Mar 1995 17:23:41 +0000 Subject: [PATCH] Add Linux yacc suport. --- gdb/ChangeLog | 6 ++++++ gdb/c-exp.y | 9 +++++++++ gdb/ch-exp.y | 9 +++++++++ gdb/f-exp.y | 9 +++++++++ gdb/m2-exp.y | 9 +++++++++ 5 files changed, 42 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6f89ae2b4e9..8a35495b24d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Wed Mar 1 12:17:31 1995 Michael Meissner + + * 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 fc88cab4b54..77816afb81f 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 98e890d9d3a..62719a26b2a 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 741d76c227d..71a219d159f 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 81d791ccbb0..51cdfceb01b 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 */