Fixed syntax error display bug on Windows