[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] skeletons: use header guards.
From: |
Akim Demaille |
Subject: |
Re: [PATCH 1/3] skeletons: use header guards. |
Date: |
Sun, 17 Jun 2012 10:23:42 +0200 |
I have installed these guys in maint.
commit c8c220d19ae0a8ea22f04cd2580b28f773b1a74e
Author: Akim Demaille <address@hidden>
Date: Mon Jun 11 16:47:46 2012 +0200
tests: call the parser from another compilation unit.
In order to improve the testing of %defines, which exports the
interface of the generated parser, change the calc.at tests so that
when %defines is passed, main will be in another compilation unit. It
loads the generated header.
* tests/calc.at (AT_CALC_MAIN): New.
Includes the definition of the global variables.
Therefore, now declare them from the %requires section of the parser.
Adjust to yydebug and yyparse being renamed by %name-prefix.
commit 56ca3d8fce0c9db2f2829d7a7a07a9ad06cdf6a8
Author: Akim Demaille <address@hidden>
Date: Fri Jun 15 15:19:16 2012 +0200
glr.c, yacc.c: declare yydebug in the header.
* data/c.m4 (b4_declare_yydebug): New.
* data/glr.c, data/yacc.c (b4_shared_declarations): Use it.
Remove the corresponding code from the parser body.
* NEWS: Doc this.
commit c3e9f08f93bc8bbabcd4f4093e52ad8f8b5454ca
Author: Akim Demaille <address@hidden>
Date: Fri Jun 15 14:21:16 2012 +0200
skeletons: use header guards.
* data/glr.c, data/glr.cc, data/yacc.c: here.
* NEWS: Document it.