Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
drdrew42 committed Sep 18, 2023
1 parent 8bccd5c commit 15e651b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions macros/parsers/parserMultiAnswer.pl
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ sub entry_cmp {
}

#
# Call the correct answser's checker to check for syntax and type errors.
# Call the correct answer's checker to check for syntax and type errors.
# If this is the last one, perform the user's checker routine as well
# Return the individual answer (our answer hash is discarded).
#
Expand Down Expand Up @@ -433,7 +433,7 @@ sub perform_check {
$rh_ans->{isPreview} = $inputs->{previewAnswers}
|| ($inputs_{action} && $inputs->{action} =~ m/^Preview/);

Parser::Context->current(undef, $context); # change to multi-answser's context
Parser::Context->current(undef, $context); # change to multi-answer's context
my $flags = Value::contextSet($context, $self->cmp_contextFlags($ans)); # save old context flags
$context->{answerHash} = $rh_ans; # attach the answerHash
my @result = Value::cmp_compare([@correct], [@student], $self, $rh_ans);
Expand Down

0 comments on commit 15e651b

Please sign in to comment.