Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tokens inconsistently require semicolons after them #233

Closed
p6rt opened this issue Aug 12, 2008 · 3 comments
Closed

Tokens inconsistently require semicolons after them #233

p6rt opened this issue Aug 12, 2008 · 3 comments

Comments

@p6rt
Copy link

p6rt commented Aug 12, 2008

Migrated from rt.perl.org#57874 (status was 'resolved')

Searchable as RT57874$

@p6rt
Copy link
Author

p6rt commented Aug 12, 2008

From @masak

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.

@p6rt
Copy link
Author

p6rt commented Nov 20, 2008

From @masak

Fixed by pmichaud++ a while ago.

@p6rt
Copy link
Author

p6rt commented Nov 20, 2008

@masak - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Nov 20, 2008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant