Set flags for syntax checks