On 25 July 2013 02:54, Roland Mainz <[email protected]> wrote: > On Tue, Jul 23, 2013 at 8:49 PM, David Korn <[email protected]> wrote: >> cc: [email protected] >> Subject: Re: bool assignments not working with ?: operator >> -------- >> >> There was a mistake in the patch I sent. Here is the corrected version. >> >> ===============cut here===================== >> --- old/sh/streval.c Tue Jun 18 15:07:11 2013 >> +++ new/sh/streval.c Tue Jul 23 14:06:52 2013 >> @@ -238,6 +238,8 @@ >> node.level = level; >> node.nosub = 0; >> node.nextop = *cp; >> + if(node.nextop == A_JMP) >> + node.nextop = ((unsigned >> char*)ep)[*((short*)roundptr(ep,cp+1,short))]; >> num = (*ep->fun)(&ptr,&node,VALUE,num); >> if(node.emode&ARITH_ASSIGNOP) >> { >> ===============cut here===================== > > The 2nd patch fixes the problem... :-) > ... I'll add a test to the "bool.sh" test module...
Roland, thank you for testing this Wendy _______________________________________________ ast-developers mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-developers
