Skip to content

Commit

Permalink
Allow any non-whitespace string as a =config type identifier. Fixes S…
Browse files Browse the repository at this point in the history
…26 parsing
  • Loading branch information
Tadeusz Sośnierz committed Aug 23, 2011
1 parent 276bfeb commit df376ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.pm
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ grammar Perl6::Grammar is HLL::Grammar {
# not a block, just a directive
token pod_content:sym<config> {
<pod_newline>*
^^ \h* '=config' \h+ $<type>=<identifier> [ \h+ <colonpair> ]+
^^ \h* '=config' \h+ $<type>=\S+ [ \h+ <colonpair> ]+
<pod_newline>+
}

Expand Down

0 comments on commit df376ba

Please sign in to comment.