Coding style fixes.
[TP_AL_C.git] / lexer / lexical_analyzer.c
index 42ab960eab1287665d4802d77a2532a4dcde2723..25526054ddd436ee3f24865bb5984e336b6a52bb 100644 (file)
@@ -201,14 +201,15 @@ FIN:
 error:
     if (tokenType == MOT || tokenType == MOTCLE) {
         fwprintf(stderr, L"%s error with token type: %s and value: %ls\n",
-                  __func__,
-                  tokenTypestr[tokenType],
-                  token[tokenFound].value);
+                 __func__,
+                 tokenTypestr[tokenType],
+                 token[tokenFound].value);
     } else {
         fwprintf(stderr, L"%s error with token type: %s\n",
-                  __func__,
-                  tokenTypestr[tokenType]);
+                 __func__,
+                 tokenTypestr[tokenType]);
     }
+    fflush(stderr);
     tokenType = FIN;
     exit(EXIT_FAILURE);
 }