Newsgroups: perl.perl6.internals
From: amaha...@cs.indiana.edu (Abhijit A. Mahabal)
Date: Sat, 8 May 2004 22:55:30 -0500 (EST)
Local: Sat, May 8 2004 11:55 pm
Subject: P6C: Parser Weirdness
I was writing a few tests for the P6 parser and ran into a weird problem.
If I have the following in a file in languages/perl6, it works as expected: The file contains: my $grammar = new Perl6grammar; It prints out: And that is what I expected. Now, if I put exactly the same contents in a file in ========================== Parse::RecDescent::_parserepeat('Parse::RecDescent=HASH(0x8a8abfc)','+$x)', 'CODE(0x87b9598)',0,1,'','undef') Parse::RecDescent::namespace000001::sigparam('Parse::RecDescent=HASH(0x8a8a bfc)','+$x)','','','undef') Parse::RecDescent::namespace000001::signature('Parse::RecDescent=HASH(0x8a8 abfc)','(+$x)','undef','undef','CODE(0x89ff214)') Parse::RecDescent::AUTOLOAD('Parse::RecDescent=HASH(0x8a8abfc)','(+$x)') (I added a confess to Parse::Recdescent where it was failing). Clearly, something happened right as the ->sigil() case worked okay. I --Abhiit Abhijit Mahabal http://www.cs.indiana.edu/~amahabal/ You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||