If we miss an EOF here, it'll be used as an array index and probably cause a segfault.