[svn:parrot] r44570 - branches/ops_pct/compilers/opsc/src

bacek at svn.parrot.org bacek at svn.parrot.org
Mon Mar 1 12:33:08 UTC 2010


Author: bacek
Date: Mon Mar  1 12:33:07 2010
New Revision: 44570
URL: https://trac.parrot.org/parrot/changeset/44570

Log:
Add lc

Modified:
   branches/ops_pct/compilers/opsc/src/builtins.pir

Modified: branches/ops_pct/compilers/opsc/src/builtins.pir
==============================================================================
--- branches/ops_pct/compilers/opsc/src/builtins.pir	Mon Mar  1 12:32:43 2010	(r44569)
+++ branches/ops_pct/compilers/opsc/src/builtins.pir	Mon Mar  1 12:33:07 2010	(r44570)
@@ -8,6 +8,12 @@
 =cut
 .namespace []
 
+.sub 'lc'
+    .param string arg
+    $S0 = downcase arg
+    .return ($S0)
+.end
+
 .sub 'uc'
     .param string arg
     $S0 = upcase arg


More information about the parrot-commits mailing list