From: Jérôme Benoit Date: Mon, 26 Feb 2018 14:00:35 +0000 (+0100) Subject: Remove a useless token value copy. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=1ab4c5024b4891186f14abaa77e00c02338f624c;p=TP_AL_C.git Remove a useless token value copy. Signed-off-by: Jérôme Benoit --- diff --git a/lexer/main.c b/lexer/main.c index 24f0a51..40550f5 100644 --- a/lexer/main.c +++ b/lexer/main.c @@ -15,7 +15,6 @@ void do_lexical_analysis() { scanner(); wprint_token(target); token[tokenFound].type = tokenTypestr[tokenType]; - wcscpy((wchar_t*)tokenValue, (wchar_t*)token[tokenFound].value); tokenFound++; } while (tokenType != FIN); // tant que la fin du fichier n'est pas atteinte }