Simplify a bit a print helper function.
[TP_AL_C.git] / lexer / main.c
index f2b6df47660f77bb7c43c49b4752a7ea52582966..7c31ee37aa388dd52629cc95f06359a560b56f9e 100644 (file)
@@ -13,7 +13,7 @@ void do_lexical_analysis() {
     c = fgetwc(source); // lecture du premier caractere
     do {
         scanner();
-        wprint_token_target();
+        wprint_token(target);
         token[tokenFound].type = tokenTypestr[tokenType];
         tokenFound++;
     } while (tokenType != FIN); // tant que la fin du fichier n'est pas atteinte