Hello, From a make -p (to display implicit rules), I get %.c: %.y $(YACC.y) $< mv -f y.tab.c $@
In most systems, yacc is aliased to bison when installed. Cheers, On Mon, Jul 28, 2014 at 9:12 AM, Tadej Borovšak <tadeb...@gmail.com> wrote: > Dne 27.07.2014 (ned) ob 20:29 +0200 je Hans Aberg napisal(a): > > On 27 Jul 2014, at 02:35, sean nakasone <seannakas...@yahoo.com> wrote: > > > > > Anyone know if bison is recursive? Meaning, does the bison build call > bison? > > > > Yes, the file src/parse-gram.y is used to make the Bison parser. > > > > > The reason I'm asking is because I'm going through the bison 3.0 > makefile and I don't see where bison is actually being called. > > > > A grep on the sources shows > > Makefile.in: src/parse-gram.y > > but I’m not sure how exactly its called. Perhaps Akim, which I think > implemented it, can tell. > > If I'm not mistaken, make has built-in rule for *.y -> *.c conversion. > This is probably why no explicit rule is to be found in build system. > > Cheers, > Tadej > > -- > Tadej Borovšak > tadej.borov...@gmail.com > tadeb...@gmail.com > blog.borovsak.si > > > _______________________________________________ > help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison -- Valentin Tolmer _______________________________________________ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison