Skip to content

Commit 2927fab

Browse files
committed
scanExtraMatchSearch is always called if EMS is needed
1 parent 0236f35 commit 2927fab

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tcl/modscan.tcl

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -391,18 +391,6 @@ proc insertProvidedAliases {modpath res_arrname} {
391391
proc scanExtraMatchSearch {modpath mod res_arrname} {
392392
upvar $res_arrname found_list
393393

394-
# get extra match query properties
395-
set spec_vr_list [getVariantListFromVersSpec $mod]
396-
set check_variant [llength $spec_vr_list]
397-
lassign [getSplitExtraListFromVersSpec $mod] spec_tag_list spec_xt_list
398-
set check_extra [llength $spec_xt_list]
399-
400-
# no scan evaluation if extra match search not needed
401-
if {!$check_variant && !$check_extra && ![isEltInReport variant 0] &&\
402-
![isEltInReport provided-alias 0]} {
403-
return
404-
}
405-
406394
# disable error reporting to avoid modulefile errors (not coping with
407395
# scan evaluation for instance) to pollute result
408396
set alreadyinhibit [getState inhibit_errreport]

0 commit comments

Comments
 (0)