This commit is contained in:
Kyryl Melekhin committed 2021-11-12 12:28:01 +00:00
1 parent 575133875c
commit d6b335fdb8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -609,7 +609,7 @@ int re_pikevm(rcode *prog, const char *s, const char **subp, int nsubp)
decref(nsub)
}
break_for:
if (!c)
if (sp == _sp)
break;
tmp = clist;
clist = nlist;
+1 -1
View File
@@ -481,7 +481,7 @@ printf '%s\n' "$regex" | while read re; do
fi
var1=$(printf '%s\n' "$var" | tail -1)
if [ ! "$exp" = "$var1" ]; then
printf '%s\' "fail test$c regex:$re input:$inp expect:$exp output:$var1"
printf '%s\n' "fail test$c regex:$re input:$inp expect:$exp output:$var1"
exit 1
fi
time=$(printf '%s\n' "$var" | tail -2 | head -n1)