[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: QUESTION: is bison recursive?
From: |
Tadej Borovšak |
Subject: |
Re: QUESTION: is bison recursive? |
Date: |
Mon, 28 Jul 2014 09:12:51 +0200 |
Dne 27.07.2014 (ned) ob 20:29 +0200 je Hans Aberg napisal(a):
> On 27 Jul 2014, at 02:35, sean nakasone <address@hidden> 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
address@hidden
address@hidden
blog.borovsak.si