Subject: | Undefined subroutine die_with_parse_failure |
use strict;
The code below generates the run time error 'Undefined subroutine
&Parse::Marpa::Grammar::die_with_parse_failure called at
C:/Perl/site/lib/Parse/Marpa.pm line 172'.
use warnings;
use Parse::Marpa;
say ${Parse::Marpa::mdl (
(do {local $/ = undef; my $source = <DATA>; \$source;}),
\('2')
)
};
__DATA__
semantics are perl5.
version is 1.004000.
start symbol is Expression.
Expression: /\d+/, /[+]/, /\d+/. q{$_[0] + $_[2]}.
It seems likely all occurrences of
Parse::Marpa::Grammar::die_with_parse_failure should be replaced by
'Parse::Marpa::Internal::Grammar::die_with_parse_failure' in Marpa.pm
Are there other similar changes that need to be made?