#########################################################################
#
#  Use this for undefined operators in the Context operator list.
#  They will still be recognized by the parser (so you don't get
#  'unexpected character' errors), but get a message that the operation
#  is not defined in this context.
#

package Parser::BOP::undefined;
use strict;
our @ISA = qw(Parser::BOP);

sub _check {
	my $self = shift;
	my $bop  = $self->{def}{string} || $self->{bop};
	$self->Error("Can't use '%s' in this context", $bop);
}

#########################################################################

1;
