Project

General

Profile

Bug #6930 ยป insns.def.warning.patch

nagachika (Tomoyuki Chikanaga), 08/28/2012 11:54 AM

View differences:

insns.def
833 833
(VALUE target, VALUE pattern)
834 834
(VALUE result)
835 835
{
836
    enum vm_check_match_type checkmatch_type =
837
      (enum vm_check_match_type)(flag & VM_CHECKMATCH_TYPE_MASK);
836 838
    result = Qfalse;
837 839

  
838 840
    if (flag & VM_CHECKMATCH_ARRAY) {
......
847 849
	}
848 850
    }
849 851
    else {
850
	if (RTEST(check_match(pattern, target, flag & VM_CHECKMATCH_TYPE_MASK))) {
852
	if (RTEST(check_match(pattern, target, checkmatch_type))) {
851 853
	    result = Qtrue;
852 854
	}
853 855
    }