Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for latest Rakudo

  • Loading branch information...
commit 313c7d8aaa608a6a7b4c8813ab12d6d2c932e984 1 parent 150ccb1
@tadzik authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Config/INI.pm
View
2  lib/Config/INI.pm
@@ -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 }
Please sign in to comment.
Something went wrong with that request. Please try again.