1
0
forked from aniani/vim

patch 8.2.0229: compare instructions not tested

Problem:    Compare instructions not tested.
Solution:   Add test cases.  Fix disassemble with line continuation.
This commit is contained in:
Bram Moolenaar
2020-02-07 22:09:54 +01:00
parent 348808f7c0
commit f2460a3aec
4 changed files with 116 additions and 16 deletions

View File

@@ -2342,7 +2342,7 @@ compile_subscript(
emsg(_(e_missbrac));
return FAIL;
}
*arg = skipwhite(*arg + 1);
*arg = *arg + 1;
if (generate_instr_drop(cctx, ISN_INDEX, 1) == FAIL)
return FAIL;