]> git.kaiwu.me - njs.git/commitdiff
Removed a surplus argument to the parser exception macro.
authorSergey Kandaurov <pluknet@nginx.com>
Mon, 4 Feb 2019 13:30:27 +0000 (16:30 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Mon, 4 Feb 2019 13:30:27 +0000 (16:30 +0300)
While here, fixed nearby style.

njs/njs_parser_expression.c

index 84380bb0e3dc60c01ed73cdeb4b8c10352501525..f38d757a59993fc1d3672f0992836d98a69bc49f 100644 (file)
@@ -648,8 +648,8 @@ njs_parser_unary_expression(njs_vm_t *vm, njs_parser_t *parser,
 
         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;