Explorar el Código

Debug postion fin

Loquicom hace 6 años
padre
commit
dd922fd081
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;