misc fix
This commit is contained in:
2
pike.c
2
pike.c
@@ -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;
|
||||
|
||||
2
test.sh
2
test.sh
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user