[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No header guard in glr.c skeleton (bison 2.4.1)

From: Akim Demaille
Subject: Re: No header guard in glr.c skeleton (bison 2.4.1)
Date: Mon, 19 Jan 2009 21:27:20 +0100

Le 17 janv. 09 à 02:29, Alexandre Bique a écrit :


I just patched glr.c skeleton because it generates header without guards.
I attached the patch.

Hi Alexandre.

Thank you for the patch. Unfortunately the cure is nastier than the disease: you used a constant string as a header guard, which will make life harder for people who mix several parsers.

But you definitely have a point here, we should do something. As a matter of fact, even the plain old yacc-like header does not have include-guards.

We'll address this.

Thank you for bison.

Thank you for saying!

Out of curiosity, what are you using glr.c for?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]