From 25696723c6a45c3b7a0c33c8cbe9b2a788928694 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 25 Nov 2017 18:59:37 +0100 Subject: [PATCH] Coding style fixes. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- lexer/lexical_analyzer.c | 10 +++++----- lexer/main.c | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) 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; } } -- 2.34.1