Inserting ternary in the qcc-operator-list at the place fteqcc would have it

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-21 20:16:28 +01:00
parent a7fb45f102
commit 8517221b1b

View file

@ -262,7 +262,9 @@ static const oper_info qcc_operators[] = {
{ "&&", 2, opid2('&','&'), ASSOC_LEFT, 5, 0 },
{ "||", 2, opid2('|','|'), ASSOC_LEFT, 5, 0 },
{ ",", 2, opid1(','), ASSOC_LEFT, 1, 0 }
{ ",", 2, opid1(','), ASSOC_LEFT, 2, 0 }
{ "?", 3, opid2('?',':'), ASSOC_RIGHT, 1, 0 },
};
static const size_t qcc_operator_count = (sizeof(qcc_operators) / sizeof(qcc_operators[0]));