X-Git-Url: https://git.piment-noir.org/?p=TP_AL_C.git;a=blobdiff_plain;f=lexer%2Flexical_analyzer.c;h=905647e932e358ea510ad4d9c601bbb182f8fd68;hp=36acd5e214098b47d2078cac42a2bb4d4779c15a;hb=224a9916c711eb5a0fe0c2065fdb62a0cf40afaf;hpb=9ed84d89d23a6198fd4157bfe93424b7b7582332 diff --git a/lexer/lexical_analyzer.c b/lexer/lexical_analyzer.c index 36acd5e..905647e 100644 --- a/lexer/lexical_analyzer.c +++ b/lexer/lexical_analyzer.c @@ -200,11 +200,13 @@ FIN: 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 { - 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;