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

.parse hangs on empty grammar #647

Closed
p6rt opened this issue Jan 24, 2009 · 4 comments
Closed

.parse hangs on empty grammar #647

p6rt opened this issue Jan 24, 2009 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Jan 24, 2009

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

Searchable as RT62700$

@p6rt
Copy link
Author

p6rt commented Jan 24, 2009

From @masak

It's r35957, and Rakudo seems to hang on the following​:

$ perl6 -e 'grammar G {}; G.parse("")'

Putting in a 'regex TOP { something }' seems to work... but it's a bit
unintuitive that nothing happens without it, not even an error
message.

@p6rt
Copy link
Author

p6rt commented Feb 11, 2009

From @jnthn

On Sat Jan 24 08​:38​:49 2009, masak wrote​:

It's r35957, and Rakudo seems to hang on the following​:

$ perl6 -e 'grammar G {}; G.parse("")'

Putting in a 'regex TOP { something }' seems to work... but it's a bit
unintuitive that nothing happens without it, not even an error
message.

Fixed in git 8b8095c; this now dies with​:

The grammar has no TOP rule to invoke.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Feb 11, 2009

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Feb 11, 2009

@jnthn - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Feb 11, 2009
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