# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #57874]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57874 >


r30183:
$ ./perl6 -e 'class A { # actual newlines
method a { }
method b { }
}' # parses
$ ./perl6 -e 'grammar A {
token a { A }
token b { B }
}' # fails
Statement not terminated properly at line 3, near "token b { "
[...]

It feels odd that what works for methods doesn't for
tokens/rules/regexen, even though it could.

Reply via email to