summaryrefslogtreecommitdiff
path: root/ext/arybase/t
Commit message (Collapse)AuthorAgeFilesLines
* Test $x=wait under arybaseFather Chrysostomos2011-10-261-0/+3
|
* Reimplement $[ as a moduleFather Chrysostomos2011-10-2113-0/+469
This commit reimplements $[ using PL_check hooks, custom pp func- tions and ties. Outside of its compile-time use, $[ is now parsed as a simple varia- ble, so function calls like foo($[) are permitted, which was not the case with the former implementation removed by e1dccc0. I consider that a bug fix. The ‘That use of $[ is unsupported’ errors are out of necessity deferred to run-time and implemented by a tied $[. Indices between 0 and the array base are now treated consistently, as are indices between a negative array base and zero. That, too, is a bug fix.