patch applied (c2hs): GNU C allows comitting the middle expr in conditional expressions
26 Mar
2007
26 Mar
'07
2:04 a.m.
Sun Mar 25 05:50:51 PDT 2007 Duncan Coutts <duncan.coutts@worc.ox.ac.uk> * GNU C allows comitting the middle expr in conditional expressions so normally it's: <condition-exp> ? <then-exp> : <else-exp> and GNU allows: <condition-exp> ? : <else-exp> which in the 'then' case evaluates to <condition-exp>. The advantage here is that the condition exp is evaluated only once. M ./c2hs/c/CAST.hs -1 +1 M ./c2hs/c/CNames.hs -1 +1 M ./c2hs/c/CParser.y -1 +7
7049
Age (days ago)
7049
Last active (days ago)
0 comments
1 participants
participants (1)
-
Duncan Coutts