]> git.kaiwu.me - njs.git/commitdiff
Fixed comments "try" instructions.
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 17 Jan 2019 13:12:46 +0000 (16:12 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Thu, 17 Jan 2019 13:12:46 +0000 (16:12 +0300)
njs/njs_vm.c

index fce24a97731441db2170ead8417341feab0f6fe8..80649b0a14ba2fe625c102193d6c9e8b05c81ddc 100644 (file)
@@ -2386,7 +2386,7 @@ njs_vmcode_try_break(njs_vm_t *vm, njs_value_t *exit_value,
 
 
 /*
- * 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, njs_value_t *exit_value,
 
 /*
  * 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