Move the integer-type selection into c.m4
commitd4b6c86c7f4b3e2000a2d1be8947102c2e58150f
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Oct 2019 01:56:52 +0000 (5 18:56 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 7 Oct 2019 07:08:19 +0000 (7 00:08 -0700)
tree5e5477cca34124204d18dd50a1c3089355827d30
parent5463291a915ce89d0d807c11859d2750ab59de9e
Move the integer-type selection into c.m4

That way, glr.c can use it too.
* data/skeletons/c.m4 (b4_int_type):
Do not special-case ‘char’; it’s not worth the trouble,
as clang complains about char subscripts.
(b4_c99_int_type, b4_c99_int_type_define): New macros,
taken from yacc.c.
* data/skeletons/glr.c: Use b4_int_type_define.
* data/skeletons/yacc.c (b4_int_type): Remove, since there’s
no longer any need to redefine it.
Use b4_c99_int_type_define rather than its body.
data/skeletons/c.m4
data/skeletons/glr.c
data/skeletons/yacc.c