[svn:parrot] r38770 - branches/pmc_pct/compilers/pmcc/src
bacek at svn.parrot.org
bacek at svn.parrot.org
Thu May 14 11:03:51 UTC 2009
Author: bacek
Date: Thu May 14 11:03:50 2009
New Revision: 38770
URL: https://trac.parrot.org/parrot/changeset/38770
Log:
Add substr into builtins.
Modified:
branches/pmc_pct/compilers/pmcc/src/builtins.pir
Modified: branches/pmc_pct/compilers/pmcc/src/builtins.pir
==============================================================================
--- branches/pmc_pct/compilers/pmcc/src/builtins.pir Thu May 14 11:03:31 2009 (r38769)
+++ branches/pmc_pct/compilers/pmcc/src/builtins.pir Thu May 14 11:03:50 2009 (r38770)
@@ -43,6 +43,14 @@
.return ($P0)
.end
+.sub 'substr'
+ .param string orig
+ .param int from
+ .param int len
+ $S0 = substr orig, from, len
+ .return ($S0)
+.end
+
# Local Variables:
# mode: pir
# fill-column: 100
More information about the parrot-commits
mailing list