Skip to content

Commit 004f84f

Browse files
authored
Merge pull request #1341 from drgrice1/bugfix/context-fraction-space
Fix an issue with implied multiplication in the contextFraction.pl macro.
2 parents 9dbb09a + fdf168f commit 004f84f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

macros/contexts/contextFraction.pl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,15 @@ sub _check {
646646
# operator we didn't otherwise subclass.
647647
#
648648
package context::Fraction::BOP::Space;
649-
our @ISA = ('context::Fraction::BOP::space');
649+
our @ISA = ('context::Fraction::Class', 'Parser::BOP');
650+
651+
sub _check {
652+
my $self = shift;
653+
my $context = $self->context;
654+
$self->{bop} = $self->{def}{string};
655+
$self->{def} = $context->{operators}{ $self->{bop} };
656+
return $self->mutate->_check;
657+
}
650658

651659
#################################################################################################
652660
#################################################################################################

0 commit comments

Comments
 (0)