add support for undef in the parser so that the spec test can pass