cpphash.c (struct macro_info): Add new members.
authorNeil Booth <neilb@earthling.net>
Thu, 13 Jul 2000 21:49:33 +0000 (21:49 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Thu, 13 Jul 2000 21:49:33 +0000 (21:49 +0000)
commitb30892f96dacee07240651b53c9bb2ab126e81a7
treef9acfb6d447aca81bbc3a71865c143d49aede31d
parent3f6790bf93e3fd2ef4b6c8c076dd5e5defc56cf9
cpphash.c (struct macro_info): Add new members.

* cpphash.c (struct macro_info): Add new members.
(_cpp_free_definition): Delete the macro directly.
(count_params): Return void, with first token of
expansion in struct macro_info on success.
(parse_define): Return int.  Hoist syntax checking from
save_macro_expansion.  Leave call to save_expansion to
_cpp_create_definition.
(alloc_macro): Needs just 2 arguments.
(free_macro): Delete.
(save_expansion): Don't perform syntax check.
(_cpp_create_definition): Call save_expansion.

From-SVN: r35025
gcc/ChangeLog
gcc/cpphash.c