repositories
/
TP_AL_C.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
No need to zero the array of token values ends.
[TP_AL_C.git]
/
lexer
/
lexical_analyzer.c
diff --git
a/lexer/lexical_analyzer.c
b/lexer/lexical_analyzer.c
index 0d6a7284abb35cb064fd40885d980bfb8c9a74f0..8805a54c13ec0647b306eeffdf8e869e2676c531 100644
(file)
--- a/
lexer/lexical_analyzer.c
+++ b/
lexer/lexical_analyzer.c
@@
-187,7
+187,6
@@
NPARA:
return EXIT_SUCCESS;
MOT:
- token[tokenFound].value[i] = 0;
tokenValue[i] = 0;
tokenType = MOT;
return EXIT_SUCCESS;