Thank you Ruslan.

You mention that I can call value() again after series_restart().

I did try this, but the following was the result. Is there something else 
one should do? It is as if the semantics package got lost.

Could not resolve rule action named 'simplifyPP'
  Rule was ppIfSection ::= ppIfGroup ppElifGroupsOpt ppElseGroupOpt '#endif'
  Could not fully qualify "simplifyPP": no resolve package
Marpa::R2 exception at parse.pl line 1410.
 at /usr/local/lib/perl/5.18.2/Marpa/R2.pm line 161.
    Marpa::R2::exception('Could not resolve rule action named 
\'simplifyPP\'\x{a}', '  Rule was ppIfSection ::= ppIfGroup ppElifGroupsOpt 
ppElseGr...', '  ', 'Marpa::R2::Internal::X=HASH(0x17a1c30)') called at 
/usr/local/lib/perl/5.18.2/Marpa/R2/Value.pm line 473
    
Marpa::R2::Internal::Value::resolve_rule_by_id('Marpa::R2::Recognizer=ARRAY(0x33bd820)',
 
6) called at /usr/local/lib/perl/5.18.2/Marpa/R2/Value.pm line 589
    
Marpa::R2::Internal::Value::resolve_recce('Marpa::R2::Recognizer=ARRAY(0x33bd820)',
 
undef) called at /usr/local/lib/perl/5.18.2/Marpa/R2/Value.pm line 704
    
Marpa::R2::Internal::Value::registration_init('Marpa::R2::Recognizer=ARRAY(0x33bd820)',
 
undef) called at /usr/local/lib/perl/5.18.2/Marpa/R2/Value.pm line 1514
    Marpa::R2::Recognizer::value('Marpa::R2::Recognizer=ARRAY(0x33bd820)', 
'Marpa::R2::Scanless::R=ARRAY(0x33ba358)', undef) called at 
/usr/local/lib/perl/5.18.2/Marpa/R2/SLR.pm line 1560
    
Marpa::R2::Scanless::R::value('Marpa::R2::Scanless::R=ARRAY(0x33ba358)') 
called at parse.pl line 1410

On Friday, March 13, 2015 at 2:28:05 AM UTC-5, rns wrote:
>
> After calling series_restart(), you can call value() again to re-retrieve 
> the parse.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"marpa parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to