[njs] Removed a surplus argument to the parser exception macro.

Sergey Kandaurov pluknet at nginx.com
Mon Feb 4 13:32:31 UTC 2019


details:   https://hg.nginx.org/njs/rev/e8cd6be6d57e
branches:  
changeset: 758:e8cd6be6d57e
user:      Sergey Kandaurov <pluknet at nginx.com>
date:      Mon Feb 04 16:30:27 2019 +0300
description:
Removed a surplus argument to the parser exception macro.

While here, fixed nearby style.

diffstat:

 njs/njs_parser_expression.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 6c66f34a89b9 -r e8cd6be6d57e njs/njs_parser_expression.c
--- a/njs/njs_parser_expression.c	Mon Feb 04 11:45:24 2019 +0300
+++ b/njs/njs_parser_expression.c	Mon Feb 04 16:30:27 2019 +0300
@@ -648,8 +648,8 @@ njs_parser_unary_expression(njs_vm_t *vm
 
         case NJS_TOKEN_NAME:
         case NJS_TOKEN_UNDEFINED:
-        njs_parser_syntax_error(vm, parser,
-                                "Delete of an unqualified identifier", NULL);
+            njs_parser_syntax_error(vm, parser,
+                                    "Delete of an unqualified identifier");
 
             return NJS_TOKEN_ILLEGAL;
 


More information about the nginx-devel mailing list