repositories
/
TP_AL_C.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Translate all printed messages in english.
[TP_AL_C.git]
/
lexer
/
lexical_analyzer.c
diff --git
a/lexer/lexical_analyzer.c
b/lexer/lexical_analyzer.c
index 36acd5e214098b47d2078cac42a2bb4d4779c15a..905647e932e358ea510ad4d9c601bbb182f8fd68 100644
(file)
--- a/
lexer/lexical_analyzer.c
+++ b/
lexer/lexical_analyzer.c
@@
-200,11
+200,13
@@
FIN:
error:
if (tokenType == MOT || tokenType == MOTCLE) {
error:
if (tokenType == MOT || tokenType == MOTCLE) {
- wpr_error(L"Scanner error with token type: %s and value: %ls\n",
+ wpr_error(L"%s error with token type: %s and value: %ls\n",
+ __func__,
tokenTypestr[tokenType],
token[tokenFound].value);
} else {
tokenTypestr[tokenType],
token[tokenFound].value);
} else {
- wpr_error(L"Scanner error with token type: %s\n",
+ wpr_error(L"%s error with token type: %s\n",
+ __func__,
tokenTypestr[tokenType]);
}
tokenType = FIN;
tokenTypestr[tokenType]);
}
tokenType = FIN;