This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ANSIfy cp/parser.c
Neil Booth <neil@daikokuya.co.uk> writes:
> Zack Weinberg wrote:-
>
>> > It would also be nice if the parser(s) were re-entrant, like cpplib.
>>
>> Yes, except that there has never been a user of cpplib's notional
>> reentrancy and therefore we don't know if it actually works. I'm
>> inclined to call YAGNI.
>
> YAGNI? Yet another good? ...?
"You aren't gonna need it." They say it a lot over on python-dev.
Basically, if reentrancy falls out of the algorithm, like it sounds
like it might, great; but I wouldn't sweat trying to make it be
reentrant if things turn out otherwise.
zw