For that matter, \if_eof:w isn't defined either.

Curiouser and curiouser . . .