I think you can do this with a :default pseudo-rule <http://search.cpan.org/%7Ejkegl/Marpa-R2-2.090000/pod/Scanless/DSL.pod#Default_pseudo-rules>. Just have the default action be to die. Not quite the same as what you are asking, but a reasonable substitute I hope.

-- jeffrey

On 08/14/2014 07:01 PM, Ron Savage wrote:
Would it be possible to add a flag to new(), something like new(missing_action => 'die')? It could default to 'ignore'.

I'm thinking of forcing an exception if the search fails for a closure named in an action.

--
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 marpa-parser+unsubscr...@googlegroups.com <mailto:marpa-parser+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
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 marpa-parser+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to