c skeletons: factor the declaration of yylloc and yylval.
authorAkim Demaille <akim@lrde.epita.fr>
Sun, 17 Jun 2012 10:10:44 +0000 (12:10 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Thu, 21 Jun 2012 13:19:43 +0000 (15:19 +0200)
commit756257ee865621a8ddce34900043aee1da27d242
tree077aa17ee4da9551d21f01ba5d3c4ec556c67791
parent18ad57b384e164c337e735df2f0ed0fe3c51fbf5
c skeletons: factor the declaration of yylloc and yylval.

There is one difference: now, even without --defines, we generate
extern declarations for these variables.  The factoring is worth it.
* data/c.m4 (b4_declare_yylstype): Declare them.
* data/glr.c, data/yacc.c: Adjust.
data/c.m4
data/glr.c
data/yacc.c