소스 검색

Debug postion fin

Loquicom 6 년 전
부모
커밋
dd922fd081
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      expreg.c

+ 1 - 1
expreg.c

@@ -47,7 +47,7 @@ char* get_match_expreg(expreg* er, int* deb, int* fin) {
         *deb = er->pos + start;
     }
     if(fin != NULL){
-        *fin = end;
+        *fin = er->pos + end;
     }
     //Recup la chaine
     char* str;