Coding style fixes.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 25 Nov 2017 17:59:37 +0000 (18:59 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 25 Nov 2017 17:59:37 +0000 (18:59 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
lexer/lexical_analyzer.c
lexer/main.c

index 7c85b4c4973dc8e12a530e3a4112991d3100d4c2..25526054ddd436ee3f24865bb5984e336b6a52bb 100644 (file)
@@ -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;
index f8622174c4b2c8cb52f5a84f4ce0aff74a87a6dc..a187f8ebb3fd88456aa01653418f00abd66e87c8 100644 (file)
@@ -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;
         }
     }