#1026: Can't use } in TGE transform definitions.
--------------------+-------------------------------------------------------
Reporter: coke | Owner: allison
Type: bug | Status: new
Priority: minor | Milestone:
Component: TGE | Version:
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
--------------------+-------------------------------------------------------
See the [http://rt.perl.org/rt3/Ticket/Display.html?id=39913 Original RT
Ticket]
{{{
The TGE grammar doesn't deal with embedded }'s:
Valid grammars:
transform a (b) {
# do nothing
}
transform a (b) {
# do nothing {
}
Invalid:
transform a (b) {
# do nothing}
}
transform a (b) {
# do {nothing}
}
}}}
Two suggestions on how to resolve this were posited:
* allow the ability to use different bracketing pairs.
* Force the closing } to be on a single line (Only works for some
languages - but right now we only support PIR anyway)
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1026>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets