]> git.saurik.com Git - bison.git/commit - data/c.m4
* data/c.m4 (b4_c_ansi_args): Recognize functions with no
authorAkim Demaille <akim@epita.fr>
Sun, 20 Oct 2002 12:51:10 +0000 (12:51 +0000)
committerAkim Demaille <akim@epita.fr>
Sun, 20 Oct 2002 12:51:10 +0000 (12:51 +0000)
commit0245f82d315e27c2439482d8b3f15af74d5dd508
treeb66647b461c0ed899488637f8b42d9d432392dba
parent39912f52635a7b7709b6a890a41e066340a89111
* data/c.m4 (b4_c_ansi_args): Recognize functions with no
arguments and output `void'.
(b4_c_function): Rename as...
(b4_c_function_def): this.
(b4_c_function_decl, b4_c_ansi_function_def)
(b4_c_ansi_function_decl): New.
Change the interpretation of the arguments: before `int, foo', now
`int foo, foo'.
* data/yacc.c (yyparse): Prototype and define thanks to these.
Adjust b4_c_function_def uses.
* data/glr.c (yyparse): Likewise, but ANSI only.
ChangeLog
data/c.m4
data/glr.c
data/yacc.c