Author: bernhard
Date: Mon Oct 10 12:14:39 2005
New Revision: 9439
Modified:
trunk/examples/pir/mandel.pir
trunk/languages/m4/doc/running.pod
trunk/languages/m4/examples/eval.imc
Log:
@MAIN will be deprecated soon, so avoid it
Modified: trunk/examples/pir/mandel.pir
==============================================================================
--- trunk/examples/pir/mandel.pir (original)
+++ trunk/examples/pir/mandel.pir Mon Oct 10 12:14:39 2005
@@ -13,8 +13,8 @@ examples/assembly/mandel.imc - Print the
This prints an ASCII-art representation of the Mandelbrot set.
-Translated from C code by Glenn Rhoads into Parrot assembler by Leon
-Brocard <[EMAIL PROTECTED]>.
+Translated from C code by Glenn Rhoads into Parrot assembler
+by Leon Brocard <[EMAIL PROTECTED]>.
Translated from PASM to PIR by Bernhard Schmalhofer.
The C code is:
@@ -34,7 +34,7 @@ The C code is:
=cut
-.sub main @MAIN
+.sub 'main' :main
.local string b
.local int x, y, k
Modified: trunk/languages/m4/doc/running.pod
==============================================================================
--- trunk/languages/m4/doc/running.pod (original)
+++ trunk/languages/m4/doc/running.pod Mon Oct 10 12:14:39 2005
@@ -34,6 +34,6 @@ Get the Parrot distribution. Build parro
=head1 AUTHOR
-Bernhard Schmalhofer - C<[EMAIL PROTECTED]>
+Bernhard Schmalhofer - <[EMAIL PROTECTED]>
=cut
Modified: trunk/languages/m4/examples/eval.imc
==============================================================================
--- trunk/languages/m4/examples/eval.imc (original)
+++ trunk/languages/m4/examples/eval.imc Mon Oct 10 12:14:39 2005
@@ -11,7 +11,7 @@ See languages/m4/Makefile on how to gene
=cut
-.sub example @MAIN
+.sub 'example' :main
print "Trying to load shared library 'm4_eval_compiler'.\n"
print "Let the init function of the library register the compiler.\n"