ANSI parser: forgot NULL check