[svn:parrot] r47300 - trunk/runtime/parrot/library

coke at svn.parrot.org coke at svn.parrot.org
Wed Jun 2 13:07:49 UTC 2010


Author: coke
Date: Wed Jun  2 13:07:49 2010
New Revision: 47300
URL: https://trac.parrot.org/parrot/changeset/47300

Log:
Avoid use of deprecated PIR syntax.  (can't use assignment syntax here.)

Modified:
   trunk/runtime/parrot/library/Crow.pir

Modified: trunk/runtime/parrot/library/Crow.pir
==============================================================================
--- trunk/runtime/parrot/library/Crow.pir	Wed Jun  2 12:34:03 2010	(r47299)
+++ trunk/runtime/parrot/library/Crow.pir	Wed Jun  2 13:07:49 2010	(r47300)
@@ -15,8 +15,8 @@
     getopts = new ['Getopt';'Obj']
     getopts.'notOptStop'(1)
 
-    getopts = push 'help|h'
-    getopts = push 'type|t=s'
+    push getopts, 'help|h'
+    push getopts, 'type|t=s'
 
     .local pmc opts
     opts = getopts.'get_options'(args)


More information about the parrot-commits mailing list