From 5ba268d2aba068fbe41a31aaf370deed89341d46 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 3 Aug 2000 14:03:43 +0000 Subject: [PATCH] Solaris yacc puts "#line" directives as "# line", so remove the latter as the former already is on other platforms. Also reduce Solaris const warnings by fixing the structure definition of yytoktype and the declaration of yyreds. --- lib/dns/config/Makefile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/dns/config/Makefile.in b/lib/dns/config/Makefile.in index a1a2f6405e..176624bc40 100644 --- a/lib/dns/config/Makefile.in +++ b/lib/dns/config/Makefile.in @@ -13,7 +13,7 @@ # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.19 2000/08/01 19:12:10 tale Exp $ +# $Id: Makefile.in,v 1.20 2000/08/03 14:03:43 tale Exp $ srcdir = @srcdir@ VPATH = @srcdir@ @@ -61,7 +61,8 @@ TARGETS = ${OBJS} confparser.c: confparser.y ${YACC} -d ${srcdir}/confparser.y rm -f confparser.c confparser_p.h - sed -e '/^\#line/d' -e 's/^\(char \*yy.*\[\]\)/const \1/' \ + sed -e '/^\# ?line/d' -e 's/^\(char \* ?yy.*\[\]\)/const \1/' \ + -e 's/{ \(char \*t_name; int t_val; } yytoktype;\)/{ const \1/' \ < y.tab.c > confparser.c rm -f y.tab.c chmod a-w confparser.c