From 46d88d1291a2ac6c25f02c5b606c8ced66dcc55f Mon Sep 17 00:00:00 2001 From: brodsom Date: Tue, 1 Jul 2003 23:19:37 +0000 Subject: [PATCH] Enable use of bison 1.35 (tested with gnuwin32 version) --- src/dsql/parse.sed | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/dsql/parse.sed b/src/dsql/parse.sed index 01429609e7..dee3284dc8 100644 --- a/src/dsql/parse.sed +++ b/src/dsql/parse.sed @@ -7,12 +7,16 @@ s/^YYSTYPE \*yy/static YYSTYPE *yy/ s/^yytabelem yy/static const yytabelem yy/ s/^yytoktype yy/static const yytoktype yy/ s/^char \* yy/static char * yy/ -s/^static int yychar;/#ifndef SHLIB_DEFS\ +s/^static int yychar;/\ +#ifndef SHLIB_DEFS\ int yychar;\ -#endif/ -s/^static int yyerrflag;/#ifndef SHLIB_DEFS\ +#endif\ +/ +s/^static int yyerrflag;/\ +#ifndef SHLIB_DEFS\ int yyerrflag;\ -#endif/ +#endif\ +/ s/yychar/DSQL_yychar/g s/yyerrflag/DSQL_yyerrflag/g s/yyparse/dsql_yyparse/g