Skip to content

Commit

Permalink
added missing =cut
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy Zhuo committed Jan 16, 2011
1 parent 851b54b commit 1f02017
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compilers/pct/src/POST/Node.pm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Get or set the result value of this node. If the result value
is set to another POST node, then that node's result is used
as the result of the current node.
=cut

method result($result?) {
if pir::defined($result) {
self<result> := $result;
Expand All @@ -36,6 +38,8 @@ method result($result?) {
=item get_string()
Returns the result of the current node as a string.
=cut

method get_string() is pirflags<:vtable('get_string')> {
self.result();
}
Expand Down

0 comments on commit 1f02017

Please sign in to comment.