Welcome! Log In Create A New Profile

Advanced

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

Sergey Kandaurov
February 04, 2019 08:34AM
details: https://hg.nginx.org/njs/rev/e8cd6be6d57e
branches:
changeset: 758:e8cd6be6d57e
user: Sergey Kandaurov <pluknet@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;

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

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

Sergey Kandaurov 131 February 04, 2019 08:34AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 76
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready