Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 524d26c4485a7f010e14f3828d12a1ee6aa522b3
https://github.com/perl6/specs/commit/524d26c4485a7f010e14f3828d12a1ee6aa522b3
Author: Moritz Lenz
Date: 2012-02-22 (Wed, 22 Feb 2012)
Changed paths:
M S09-da
# New Ticket Created by Stephane Payrard
# Please include the string: [perl #111288]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org:443/rt3/Ticket/Display.html?id=111288 >
$ perl6
> (grammar { token TOP { ? $='b' }; token a { a } }).parse: 'ab';
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #111286]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org:443/rt3/Ticket/Display.html?id=111286 >
nom: (grammar { token TOP { ? $='b' }; token a {
a } }).parse: 'ab'; say $/.k
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #111284]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org:443/rt3/Ticket/Display.html?id=111284 >
moritz: our both declares a package variable and creates an
lexical alias to it