removed redundant code in syntax.c