1.90 Tue Mar 25 01:17:38 2003
- BACKWARDS INCOMPATIBLE CHANGE: The key of an %item entry for
a repeated subrule now includes the repetition specifier.
For example, in:
sentence: subject verb word(s)
the various matched items will be stored in $item{'subject'}
+,
$item{'verb'}, and $item{'word(s)'} (i.e. *not* in $item{'wo
+rd'},
as it would have been in previous versions of the module).
(thanks Anthony)
In my case, I had something like this:
Item(s) EOF
{
$return = [ @{$item{Item}} ];
}
and it *should be*:
Item(s) EOF
{
$return = [ @{$item{qq(Item(s))}} ];
}
Check other sub-rules for similar kind of behavior and hash referencing.
It's also actually already documented within the grammer included by Inline::CPP:
http://cpansearch.perl.org/src/SHASSAN/Inline-CPP-0.27/grammar/grammar.pm
Unfortunately to figure it out myself, I had to take the long road on an entirely different piece of older code. Just the type of thing to make one tear their hair out unless they know the exact place to look. |