Author: fperrad
Date: Sun Jun 10 23:55:56 2007
New Revision: 18923
Modified:
trunk/compilers/past-pm/PAST/Node.pir
Log:
[PAST-pm]
- the method init of 'PAST::Node' returns the node.
Modified: trunk/compilers/past-pm/PAST/Node.pir
==============================================================================
--- trunk/compilers/past-pm/PAST/Node.pir (original)
+++ trunk/compilers/past-pm/PAST/Node.pir Sun Jun 10 23:55:56 2007
@@ -64,6 +64,7 @@
Initialize a PAST node with the given children and attributes.
Adds each child to the node (using the C<push> method, below) and
calls the appropriate accessor method for each attribute.
+And returns the node.
=cut
@@ -92,7 +93,7 @@
goto adverbs_loop
adverbs_end:
end:
- .return ()
+ .return (self)
.end