X-Git-Url: https://git.piment-noir.org/?p=TP_AL_C.git;a=blobdiff_plain;f=lexer%2Fmain.c;h=7c31ee37aa388dd52629cc95f06359a560b56f9e;hp=f2b6df47660f77bb7c43c49b4752a7ea52582966;hb=f196dae589431452a3eb37a2aa985d882f695407;hpb=7cfc17fb01df603682946e58acc973f7d9e5f0bc diff --git a/lexer/main.c b/lexer/main.c index f2b6df4..7c31ee3 100644 --- a/lexer/main.c +++ b/lexer/main.c @@ -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