fix edge case with word condt

This commit is contained in:
Kyryl Melekhin
2021-09-18 09:49:29 +00:00
parent e4e5c3aa97
commit cc17c0bb05
2 changed files with 5 additions and 1 deletions

3
pike.c
View File

@@ -513,7 +513,8 @@ for (j = 0; j < nsubp; j++) s1->sub[j] = nsub->sub[j]; \
npc += 2; \
goto rec##nn; \
case WBEG: \
if ((sp != s && isword(sp)) || !isword(_sp)) \
if (((sp != s || sp != _sp) && isword(sp)) \
|| !isword(_sp)) \
deccheck(nn) \
npc++; goto rec##nn; \
case WEND: \