Welcome! Log In Create A New Profile

Advanced

[njs] Parser: removed dead store in await;

Alexander Borisov
September 02, 2021 12:36PM
details: https://hg.nginx.org/njs/rev/f2410c8b80d9
branches:
changeset: 1702:f2410c8b80d9
user: Alexander Borisov <alexander.borisov@nginx.com>
date: Thu Sep 02 19:32:52 2021 +0300
description:
Parser: removed dead store in await;

The bug was introduced in 92d10cd761e2.

diffstat:

src/njs_parser.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diffs (12 lines):

diff -r cd87eaf03e4f -r f2410c8b80d9 src/njs_parser.c
--- a/src/njs_parser.c Thu Sep 02 19:32:34 2021 +0300
+++ b/src/njs_parser.c Thu Sep 02 19:32:52 2021 +0300
@@ -3477,8 +3477,6 @@ njs_parser_await(njs_parser_t *parser, n
return NJS_ERROR;
}

- node = parser->node;
-
if (scope->in_args) {
njs_parser_syntax_error(parser, "await in arguments not supported");
return NJS_ERROR;
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Parser: removed dead store in await;

Alexander Borisov 72 September 02, 2021 12:36PM



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