commit | f2460a3aec89e70d4bab8d2369ee3f78cc43f09a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Feb 07 22:09:54 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Feb 07 22:09:54 2020 +0100 |
tree | 261540edb2887aa0adfbcf45036b849da8c752bf | |
parent | 348808f7c000a49d435c15db68c814b026f8167d [diff] [blame] |
patch 8.2.0229: compare instructions not tested Problem: Compare instructions not tested. Solution: Add test cases. Fix disassemble with line continuation.
diff --git a/src/vim9compile.c b/src/vim9compile.c index 0c72168..96037d9 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c
@@ -2342,7 +2342,7 @@ emsg(_(e_missbrac)); return FAIL; } - *arg = skipwhite(*arg + 1); + *arg = *arg + 1; if (generate_instr_drop(cctx, ISN_INDEX, 1) == FAIL) return FAIL;