Skip to content

Commit

Permalink
Made &make a list operator.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kodi Arfer authored and Kodi Arfer committed Oct 17, 2010
1 parent 0647023 commit d357695
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/Grammar.pm
Expand Up @@ -15,7 +15,9 @@ class Grammar is Cursor {
}
}

our sub make($ast) {
our sub make (*@ast) {
my $ast = (sub { return |@ast })();

Q:PIR {
$P0 = find_dynamic_lex '$/'
$P1 = find_lex '$ast'
Expand Down

0 comments on commit d357695

Please sign in to comment.