1
0
forked from aniani/vim

patch 9.1.1215: Patch 9.1.1213 has some issues

Problem:  Patch 9.1.1213 has some issues
Solution: revert it for now

This reverts commit 250739d442.

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-03-16 21:39:58 +01:00
parent 28e40a7b55
commit 762a79e15c
18 changed files with 83 additions and 266 deletions

View File

@@ -2188,17 +2188,15 @@ generate_SOURCE(cctx_T *cctx, int sid)
}
/*
* Generate an ISN_PUT or ISN_IPUT instruction depending on fixindent.
* Generate an ISN_PUT instruction.
*/
int
generate_PUT(cctx_T *cctx, int regname, linenr_T lnum, int fixindent)
generate_PUT(cctx_T *cctx, int regname, linenr_T lnum)
{
isn_T *isn;
RETURN_OK_IF_SKIP(cctx);
isn = (fixindent) ? generate_instr(cctx, ISN_IPUT) :
generate_instr(cctx, ISN_PUT);
if (isn == NULL)
if ((isn = generate_instr(cctx, ISN_PUT)) == NULL)
return FAIL;
isn->isn_arg.put.put_regname = regname;
isn->isn_arg.put.put_lnum = lnum;