[njs] Fixed comments "try" instructions.

Dmitry Volyntsev xeioex at nginx.com
Thu Jan 17 14:03:23 UTC 2019


details:   https://hg.nginx.org/njs/rev/2e9bdb42b3e6
branches:  
changeset: 731:2e9bdb42b3e6
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Thu Jan 17 16:12:46 2019 +0300
description:
Fixed comments "try" instructions.

diffstat:

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

diffs (21 lines):

diff -r 9973704e2e36 -r 2e9bdb42b3e6 njs/njs_vm.c
--- a/njs/njs_vm.c	Thu Jan 17 16:11:52 2019 +0300
+++ b/njs/njs_vm.c	Thu Jan 17 16:12:46 2019 +0300
@@ -2386,7 +2386,7 @@ njs_vmcode_try_break(njs_vm_t *vm, njs_v
 
 
 /*
- * njs_vmcode_try_break() sets exit_value to INVALID -1, and jumps to
+ * njs_vmcode_try_continue() sets exit_value to INVALID -1, and jumps to
  * the nearest try_end block. The exit_value is checked by njs_vmcode_finally().
  */
 
@@ -2401,7 +2401,7 @@ njs_vmcode_try_continue(njs_vm_t *vm, nj
 
 /*
  * njs_vmcode_try_return() saves a return value to use it later by
- * njs_vmcode_finally(), and jumps to the nearest try_end block.
+ * njs_vmcode_finally(), and jumps to the nearest try_break block.
  */
 
 nxt_noinline njs_ret_t


More information about the nginx-devel mailing list