Permalink
Browse files

Add rw

  • Loading branch information...
1 parent 1646ef9 commit 0161134c63560bbfd89b49198e10c917ce3e845e @ingydotnet committed Jul 28, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/TestML/Parser.pm
View
@@ -11,8 +11,8 @@ method parse($testml) {
my $actions = TestML::Parser::Actions.new();
TestML::Parser::Grammar.parse(
$testml,
- :rule('document'),
:actions($actions),
+ :rule('document'),
) or die "Parse TestML failed";
return $actions.document;
}
@@ -38,8 +38,8 @@ class TestML::Parser::Actions;
has $.document = TestML::Document.new;
has $.data;
-has $.statement;
-has $.transform_arguments;
+has $.statement is rw;
+has $.transform_arguments is rw;
has @.expression_stack = ();

0 comments on commit 0161134

Please sign in to comment.