* src/macro.c (argc_stack, argv_stack): New variables for sharing
commit9c8b7c3f8d57d4283b0f98daf5805682412c0594
authorEric Blake <ebb9@byu.net>
Tue, 10 Oct 2006 16:35:23 +0000 (10 16:35 +0000)
committerEric Blake <ebb9@byu.net>
Fri, 21 Sep 2007 21:27:32 +0000 (21 15:27 -0600)
treea2c65c398f708d284a6cfb905ba02d612b434a62
parent56e5bc3bd847633183e409e63c1baef90f0c1051
* src/macro.c (argc_stack, argv_stack): New variables for sharing
obstacks across multiple macro calls.
(expand_input): Initialize and tear down stack once per input
file, instead of once per macro.
(expand_macro): Reuse existing stacks when possible.
(collect_arguments): Simplify slightly.
ChangeLog
src/macro.c