don't return a coderef if there was a parse error

it won't be a valid coderef, you'll just get an error if you try to call
it