Are BIND 8.2.5 ns_parser.y and .c in sync?
Paul Vixie
paul at vix.com
Mon Feb 18 16:50:31 UTC 2002
> ...
> I made a couple minor changes for my platform to ns_parser.y,
> and the resulting ns_parser.c was vastly different than the
> one in the original download. Since all of the differences
> were in areas I didn't even touch, I went back to the original
> downloaded ns_parser.y, deleted ns_parser.c, and let yacc generate
> ns_parser.c during the build. The resulting ns_parser.c from
> the untouched 8.2.5 ns_parser.y looks nothing like the 8.2.5
> ns_parser.c in the ISC download.
> ...
Yacc is a system specific utility. As long as the yacc command line syntax
is compatible and the resulting .c file has the same entry points, it does
not matter whether the generated parser is vastly different between two
different implementations of yacc. Authors of "bison -y" and "byacc" both
felt that the AT&T PWG "yacc"'s generated parsers were suboptimal.
More information about the bind-workers
mailing list