[svn:parrot] r44518 - branches/ops_pct/compilers/opsc
bacek at svn.parrot.org
bacek at svn.parrot.org
Sat Feb 27 00:09:29 UTC 2010
Author: bacek
Date: Sat Feb 27 00:09:29 2010
New Revision: 44518
URL: https://trac.parrot.org/parrot/changeset/44518
Log:
Chnage 'hash' and 'list' to able to create hash and list from params.
Modified:
branches/ops_pct/compilers/opsc/builtins.pir
Modified: branches/ops_pct/compilers/opsc/builtins.pir
==============================================================================
--- branches/ops_pct/compilers/opsc/builtins.pir Sat Feb 27 00:09:09 2010 (r44517)
+++ branches/ops_pct/compilers/opsc/builtins.pir Sat Feb 27 00:09:29 2010 (r44518)
@@ -182,13 +182,13 @@
.end
.sub 'hash'
- $P0 = new ['Hash']
- .return ($P0)
+ .param pmc h :slurpy :named
+ .return (h)
.end
.sub 'list'
- $P0 = new ['ResizablePMCArray']
- .return ($P0)
+ .param pmc l :slurpy
+ .return (l)
.end
.sub 'say'
More information about the parrot-commits
mailing list