#1447: [NQP-rx] failure to capture two duplicate subrules in the same rule
---------------------+------------------------------------------------------
Reporter: allison | Owner: pmichaud
Type: bug | Status: assigned
Priority: normal | Milestone:
Component: nqp | Version: 2.0.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
---------------------+------------------------------------------------------
Changes (by pmichaud):
* status: new => assigned
Comment:
Replying to [ticket:1447 allison]:
> So far, I've only been able to duplicate the bug with the full language
grammar, so, I've put a copy of the language at that version up on
http://pub.lohutok.net/nqp/camle-0.0.1b-ar9319.tar.gz. Run 'make parrot',
'make', and then './camle --target=parse twosubrule.le' to produce the
output above.
I just tried this locally and I correctly get the array for the
expression:
{{{
<statement> => ResizablePMCArray (size:1) [
PMC 'Regex;Match' => "IF 2 < 1\n BEGIN\n write('ok
1');\n writeln;\n END" @ 38 {
<relation> => PMC 'Regex;Match' => "<" @ 43
<IF> => PMC 'Regex;Match' => "IF" @ 38
<expression> => ResizablePMCArray (size:2) [
PMC 'Regex;Match' => "2 " @ 41 {
...
},
PMC 'Regex;Match' => "1\n " @ 45 {
...
}}}
So, I'm left guessing that it's something about the particular machine or
Parrot build that caused the error -- I'm unable to reproduce it here.
Pm
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1447#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets