Skip to content

Commit

Permalink
Fix bug in squak tutorial noticed by John Rizzo
Browse files Browse the repository at this point in the history
  • Loading branch information
leto committed Jan 18, 2012
1 parent c0cd33d commit a8aab9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/languages/squaak/doc/tutorial_episode_4.pod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2008, Parrot Foundation.
# Copyright (C) 2008-2012, Parrot Foundation.

=head1 Episode 4: PAST Nodes and More Statements

Expand Down Expand Up @@ -306,8 +306,8 @@ action methods.
## generate instruction to retrieve the exception object (and the
## exception message, that is passed automatically in PIR, this is stored
## into $S0 (but not used).
my $pir := " .get_results (%r, $S0)\n"
~ " store_lex '" ~ $exc.name()
my $pir := ' .get_results (%r, $S0)\n'
~ "\n store_lex '" ~ $exc.name()
~ "', %r";

$catch.unshift( PAST::Op.new( :inline($pir), :node($/) ) );
Expand Down

0 comments on commit a8aab9f

Please sign in to comment.