Similar refactoring for read-one in syntax/modcode.