From: Jérôme Benoit Date: Sat, 25 Nov 2017 17:59:37 +0000 (+0100) Subject: Coding style fixes. X-Git-Url: https://git.piment-noir.org/?p=TP_AL_C.git;a=commitdiff_plain;h=25696723c6a45c3b7a0c33c8cbe9b2a788928694;hp=48e4b4adcc62229b0006ca4c35e54d63a9f6cc9e Coding style fixes. Signed-off-by: Jérôme Benoit --- diff --git a/lexer/lexical_analyzer.c b/lexer/lexical_analyzer.c index 7c85b4c..2552605 100644 --- a/lexer/lexical_analyzer.c +++ b/lexer/lexical_analyzer.c @@ -201,13 +201,13 @@ FIN: error: if (tokenType == MOT || tokenType == MOTCLE) { fwprintf(stderr, L"%s error with token type: %s and value: %ls\n", - __func__, - tokenTypestr[tokenType], - token[tokenFound].value); + __func__, + tokenTypestr[tokenType], + token[tokenFound].value); } else { fwprintf(stderr, L"%s error with token type: %s\n", - __func__, - tokenTypestr[tokenType]); + __func__, + tokenTypestr[tokenType]); } fflush(stderr); tokenType = FIN; diff --git a/lexer/main.c b/lexer/main.c index f862217..a187f8e 100644 --- a/lexer/main.c +++ b/lexer/main.c @@ -84,13 +84,13 @@ int main(int argc, char **argv) { case ':': /* missing option argument */ pr_error("%s: option '-%c' requires an argument\n", - argv[0], optopt); + argv[0], optopt); break; case '?': default: /* invalid option */ pr_error("%s: option '-%c' is invalid: ignored\n", - argv[0], optopt); + argv[0], optopt); break; } }