diff options
author | Pierre Muller <muller@ics.u-strasbg.fr> | 2002-06-21 14:32:10 +0000 |
---|---|---|
committer | Pierre Muller <muller@ics.u-strasbg.fr> | 2002-06-21 14:32:10 +0000 |
commit | 749e35df592250836ccc0bcda26b992ce1182713 (patch) | |
tree | 2b80746253728019790c5d9506262270c7dddd15 /gdb/jv-exp.y | |
parent | 7eb84d16b746ea5dc5e3a295e5ccebf21a4f153b (diff) | |
download | gdb-749e35df592250836ccc0bcda26b992ce1182713.tar.gz |
2002-06-19 Pierre Muller <muller@ics.u-strasbg.fr>
* parse.c (parse_fprintf): New function used to avoid calls to
fprintf in bison parser generated debug code.
* parser-defs.h: Declaration of new parse_fprintf function.
* ada-exp.y, c-exp.y, f-exp.y, jv-exp.y, m2-exp.y, p-exp.y:
Set YYDEBUG to 1 by default.
Set YYFPRINTF as parse_fprintf.
Diffstat (limited to 'gdb/jv-exp.y')
-rw-r--r-- | gdb/jv-exp.y | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/jv-exp.y b/gdb/jv-exp.y index 495bf3e0537..f95de247b1a 100644 --- a/gdb/jv-exp.y +++ b/gdb/jv-exp.y @@ -96,9 +96,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define yycheck java_yycheck #ifndef YYDEBUG -#define YYDEBUG 0 /* Default to no yydebug support */ +#define YYDEBUG 1 /* Default to yydebug support */ #endif +#define YYFPRINTF parser_fprintf + int yyparse (void); static int yylex (void); |