Add some fflush() for avoid loosing comme characters
[TP_AL_C.git] / lexer / lexical_analyzer.c
index 42ab960eab1287665d4802d77a2532a4dcde2723..7c85b4c4973dc8e12a530e3a4112991d3100d4c2 100644 (file)
@@ -209,6 +209,7 @@ error:
                   __func__,
                   tokenTypestr[tokenType]);
     }
+    fflush(stderr);
     tokenType = FIN;
     exit(EXIT_FAILURE);
 }