Fixed bug with uninitialized variable in check_syntax that caused segfault.