[svn:parrot] r46956 - trunk/compilers/opsc
bacek at svn.parrot.org
bacek at svn.parrot.org
Mon May 24 10:50:27 UTC 2010
Author: bacek
Date: Mon May 24 10:50:27 2010
New Revision: 46956
URL: https://trac.parrot.org/parrot/changeset/46956
Log:
Implmenet command-line opsc parsing.
Modified:
trunk/compilers/opsc/opsc.pir
Modified: trunk/compilers/opsc/opsc.pir
==============================================================================
--- trunk/compilers/opsc/opsc.pir Mon May 24 10:50:07 2010 (r46955)
+++ trunk/compilers/opsc/opsc.pir Mon May 24 10:50:27 2010 (r46956)
@@ -18,6 +18,18 @@
.include 'compilers/opsc/gen/Ops/File.pir'
.include 'compilers/opsc/gen/Ops/Renumberer.pir'
+
+.namespace []
+.sub 'main' :main
+ .param pmc args
+
+ $P0 = compreg 'Ops'
+ $P0.'command_line'(args)
+ exit 0
+.end
+
+
+
# Local Variables:
# mode: pir
# fill-column: 100
More information about the parrot-commits
mailing list