[njs] Fixed grammar in njs_vm.h.

Dmitry Volyntsev xeioex at nginx.com
Fri Dec 28 12:40:23 UTC 2018


details:   https://hg.nginx.org/njs/rev/2866557dc7a0
branches:  
changeset: 705:2866557dc7a0
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Fri Dec 28 15:39:59 2018 +0300
description:
Fixed grammar in njs_vm.h.

diffstat:

 njs/njs_vm.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 269fe12bbabe -r 2866557dc7a0 njs/njs_vm.h
--- a/njs/njs_vm.h	Fri Dec 28 12:44:56 2018 +0300
+++ b/njs/njs_vm.h	Fri Dec 28 15:39:59 2018 +0300
@@ -828,7 +828,7 @@ typedef enum {
     NJS_SCOPE_GLOBAL = 1,
     NJS_SCOPE_CALLEE_ARGUMENTS = 2,
     /*
-     * The argument and local VM scopes should separate because a
+     * The argument and local VM scopes should be separated because a
      * function may be called with any number of arguments.
      */
     NJS_SCOPE_ARGUMENTS = 3,
@@ -838,7 +838,7 @@ typedef enum {
     NJS_SCOPE_CLOSURE = 5,
     /*
      * The block and shim scopes are not really VM scopes.
-     * They used only on parsing phase.
+     * They are used only on parsing phase.
      */
     NJS_SCOPE_BLOCK = 16,
     NJS_SCOPE_SHIM = 17,


More information about the nginx-devel mailing list