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=====================
David Korn
[email protected]
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers