1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00

Enabled 'a ? b, c : d'.

This commit is contained in:
acqn 2021-03-14 03:25:40 +08:00 committed by Oliver Schmidt
parent a51d6d40de
commit 325b7b4ab3

View File

@ -3985,7 +3985,7 @@ static void hieQuest (ExprDesc* Expr)
/* Parse second expression. Remember for later if it is a NULL pointer
** expression, then load it into the primary.
*/
ExprWithCheck (hie1, &Expr2);
ExprWithCheck (hie0, &Expr2);
Expr2IsNULL = ED_IsNullPtr (&Expr2);
if (!IsTypeVoid (Expr2.Type) &&
ED_YetToLoad (&Expr2) &&