|
2009-08-20
| ||
| 06:24 | • Closed ticket [2823276fff]: direct eval for, if, while not NRE safe pl... artifact: bec76eb634 user: dkf | |
|
2009-08-19
| ||
| 21:33 | • Ticket [2823276fff]: 4 changes artifact: 770cf57353 user: dkf | |
|
2009-08-13
| ||
| 00:02 | • Ticket [2823276fff]: 5 changes artifact: 61e554cc95 user: dgp | |
|
2009-07-18
| ||
| 20:46 | • Ticket [2823276fff]: 4 changes artifact: 2a5176b0a8 user: dkf | |
|
2009-07-17
| ||
| 19:45 | • New ticket [2823276fff]. artifact: c95f1ab096 user: dgp | |
direct eval [for], [if], [while] not NRE safe
Closed / Fixed2823276fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-07-17 19:45:59
% coroutine foo apply {{} {set for for; $for {[yield]} 0 {} {}}}
cannot yield: C stack busy
dkfplain2009-07-18 20:46:02
Should be possible to make it yield-safe in the first, third and fourth arguments with only minimal effort. The second argument would require the same techniques as Bug#2823282.
dgpplain2009-08-13 00:02:53
Commands [for], [if], [while] all call Tcl_ExprBooleanObj() to evaluate expressions. Should migrate to Tcl_NRExprObj() to NR-enable them.
dkfplain2009-08-19 21:33:39
[for] (and [while]) now converted to be [yield]-safe in all arguments.
dkfplain2009-08-20 06:24:19
allow_comments - 1 [if] now converted.
Log in (anonymous is fine) to add a comment.