repositories
/
TP_AL_C.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfbc1df
)
Remove a useless token value copy.
author
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Mon, 26 Feb 2018 14:00:35 +0000
(15:00 +0100)
committer
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Mon, 26 Feb 2018 14:00:35 +0000
(15:00 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
lexer/main.c
patch
|
blob
|
blame
|
history
diff --git
a/lexer/main.c
b/lexer/main.c
index 24f0a511069fcc65bc344d097efda6b283915020..40550f5a85d0b2d8935fa00a1b83d3b32e1411a3 100644
(file)
--- 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
}