Welcome! Log In Create A New Profile

Advanced

[njs] Fixed AST debug with tokens added with async/await feature (0.7.0).

Vadim Zhestikov via nginx-devel
July 15, 2022 07:08PM
details: https://hg.nginx.org/njs/rev/0a2bd6c71db4
branches:
changeset: 1911:0a2bd6c71db4
user: Vadim Zhestikov <v.zhestikov@f5.com>
date: Fri Jul 15 15:44:27 2022 -0700
description:
Fixed AST debug with tokens added with async/await feature (0.7.0).

diffstat:

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

diffs (15 lines):

diff -r 56a890599de2 -r 0a2bd6c71db4 src/njs_parser.c
--- a/src/njs_parser.c Fri Jul 15 15:44:16 2022 -0700
+++ b/src/njs_parser.c Fri Jul 15 15:44:27 2022 -0700
@@ -9145,8 +9145,11 @@ njs_parser_serialize_node(njs_chb_t *cha
njs_token_serialize(NJS_TOKEN_PROTO_INIT);

njs_token_serialize(NJS_TOKEN_FUNCTION);
+ njs_token_serialize(NJS_TOKEN_ASYNC_FUNCTION);
njs_token_serialize(NJS_TOKEN_FUNCTION_DECLARATION);
+ njs_token_serialize(NJS_TOKEN_ASYNC_FUNCTION_DECLARATION);
njs_token_serialize(NJS_TOKEN_FUNCTION_EXPRESSION);
+ njs_token_serialize(NJS_TOKEN_ASYNC_FUNCTION_EXPRESSION);
njs_token_serialize(NJS_TOKEN_FUNCTION_CALL);
njs_token_serialize(NJS_TOKEN_METHOD_CALL);

_______________________________________________
nginx-devel mailing list -- nginx-devel@nginx.org
To unsubscribe send an email to nginx-devel-leave@nginx.org
Subject Author Views Posted

[njs] Fixed AST debug with tokens added with async/await feature (0.7.0).

Vadim Zhestikov via nginx-devel 223 July 15, 2022 07:08PM



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

Online Users

Guests: 84
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