Don't set syntax to none if bad syntax is supplied