syntax: do not compute ancestors if syntax failed