Use skip-syntax-forward to determine the end