fix segfault on syntax error code path

1 file changed