Strict prototype warnings removing.
[TP_AL_C.git] / lexer / syntactic_analyzer.c
index ae3251ae48c4da759f8f0fe02ef88aceefbffbc0..24ff57a646b551360563403d526d9c939b53ce87 100644 (file)
@@ -194,7 +194,7 @@ static void analyze_BODY() {
     #endif
 }
 
-void analyze_AXIOME() {
+void analyze_AXIOME(void) {
     #if DEBUG
     fprintf(stdout, "entering %s\n", __func__);
     #endif
@@ -216,6 +216,9 @@ void analyze_AXIOME() {
     if (target != NULL) {
         fputws(L"\n<body>\n", target);
     }
+    #if PRINT_TOKEN
+    wprint_ctoken(stdout);
+    #endif /* PRINT_TOKEN */
     if (tokenType != FIN) {
         fprintf(stderr, "%s follows error on %s\n", __func__, tokenTypestr[tokenType]);
         fflush(stderr);