On 2002.03.25 18:11 Craig A. Berry wrote:
> 
> The necessity of regeneration reminded me of the existence of 
> vms/vms_yfix.pl, and it turns out this is where the SETERRNO stuff is pasted 
> on.  I appears to assume that parsing is only done once at startup time so 
> it is safe to set errno to zero.  It really ought to save and restore errno; 
> I'll try to work up a patch that does that.  Thanks for the replies.

Sorry, I wasn't aware of platform-specific yacc-output fixers.
I mean, yacc is a Unix thing, and I didn't expected it to generate
fully portable C code.

BTW. Jarkko, the warning I added in perl.c is still relevant for ebcdic
platforms.

-- 
Rafael "Look Ma, I've patched perly.y!" Garcia-Suarez

Reply via email to