Permalink
Browse files

Fix for latest Rakudo

  • Loading branch information...
1 parent 150ccb1 commit 313c7d8aaa608a6a7b4c8813ab12d6d2c932e984 @tadzik committed May 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Config/INI.pm
View
@@ -24,7 +24,7 @@ grammar INI {
class INI::Actions {
method TOP ($/) {
my %hash = $<sections>».ast;
- %hash<_> = $<toplevel>[0].ast.hash if $<toplevel>[0].ast;
+ %hash<_> = $<toplevel>.ast.hash if $<toplevel>.?ast;
make %hash;
}
method toplevel ($/) { make $<keyval>».ast.hash }

0 comments on commit 313c7d8

Please sign in to comment.