[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: yacc.c does not prototype yyparse in the header
From: |
Paul Eggert |
Subject: |
Re: yacc.c does not prototype yyparse in the header |
Date: |
Mon, 11 Jun 2012 02:29:45 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
On 06/11/2012 01:54 AM, Akim Demaille wrote:
> Bruce Korb just pointed out to me that Bison 2.5.1 does
> not prototype yyparse in the generated header, with yacc.c.
> The other skeletons do. I don't understand why.
This is for historical reasons, as Bison
historically generated parsers that compiled with
traditional C compilers that did not support prototypes.
Nowadays that is no longer a concern, and yyparse can
use prototypes unconditionally.
> I guess we only have
> to pay attention to handle %prefix via M4, and not via CPP
I would think so, yes.
- bison-2.5.1 released [stable], Akim Demaille, 2012/06/05
- Re: bison-2.5.1 released [stable], Richard Stallman, 2012/06/05
- Message not available
- Message not available
- Message not available
- yacc.c does not prototype yyparse in the header, Akim Demaille, 2012/06/11
- Re: yacc.c does not prototype yyparse in the header,
Paul Eggert <=
- Re: yacc.c does not prototype yyparse in the header, Akim Demaille, 2012/06/12
- Re: yacc.c does not prototype yyparse in the header, Paul Eggert, 2012/06/12
- Re: yacc.c does not prototype yyparse in the header, Akim Demaille, 2012/06/13
- Re: yacc.c does not prototype yyparse in the header, Paul Eggert, 2012/06/13
- Re: yacc.c does not prototype yyparse in the header, Akim Demaille, 2012/06/28
- Re: yacc.c does not prototype yyparse in the header, Akim Demaille, 2012/06/29
- FYI: glr.c: minor refactoring (was: yacc.c does not prototype yyparse in the header), Akim Demaille, 2012/06/12
- FYI: skeletons: factor yacc.c and glr.c (was: yacc.c does not prototype yyparse in the header), Akim Demaille, 2012/06/12
- RFC: yacc.c: factor (was: yacc.c does not prototype yyparse in the header), Akim Demaille, 2012/06/12
- Re: RFC: yacc.c: factor (was: yacc.c does not prototype yyparse in the header), Akim Demaille, 2012/06/12