]> git.kaiwu.me - njs.git/commitdiff
Fixed grammar introduced in 86f55a7dc4a4.
authorAlexander Borisov <alexander.borisov@nginx.com>
Mon, 1 Jun 2020 15:09:29 +0000 (18:09 +0300)
committerAlexander Borisov <alexander.borisov@nginx.com>
Mon, 1 Jun 2020 15:09:29 +0000 (18:09 +0300)
src/njs_parser.c

index 20343510360ef2ce7bef6fe7a4e227d018abb379..c1d7528030c1028e6a3f3035fad350c785be97fa 100644 (file)
@@ -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;