[njs] Fixed grammar introduced in 86f55a7dc4a4.

Alexander Borisov alexander.borisov at nginx.com
Mon Jun 1 15:11:06 UTC 2020


details:   https://hg.nginx.org/njs/rev/b4a6f26b7e32
branches:  
changeset: 1411:b4a6f26b7e32
user:      Alexander Borisov <alexander.borisov at nginx.com>
date:      Mon Jun 01 18:09:29 2020 +0300
description:
Fixed grammar introduced in 86f55a7dc4a4.

diffstat:

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

diffs (16 lines):

diff -r c37e682982b1 -r b4a6f26b7e32 src/njs_parser.c
--- a/src/njs_parser.c	Mon Jun 01 18:09:28 2020 +0300
+++ b/src/njs_parser.c	Mon Jun 01 18:09:29 2020 +0300
@@ -467,10 +467,10 @@ njs_inline njs_int_t
 njs_parser_not_supported(njs_parser_t *parser, njs_lexer_token_t *token)
 {
     if (token->type != NJS_TOKEN_END) {
-        njs_parser_syntax_error(parser, "Token \"%V\" not support "
+        njs_parser_syntax_error(parser, "Token \"%V\" not supported "
                                 "in this version", &token->text);
     } else {
-        njs_parser_syntax_error(parser, "Not support in this version");
+        njs_parser_syntax_error(parser, "Not supported in this version");
     }
 
     return NJS_DONE;


More information about the nginx-devel mailing list