patch 8.2.0223: some instructions not yet tested
Problem: Some instructions not yet tested.
Solution: Disassemble more instructions. Move tests to a new file. Compile
call to s:function().
diff --git a/src/userfunc.c b/src/userfunc.c
index 3c2673d..1c25a62 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -573,8 +573,6 @@
return ret;
}
-#define FLEN_FIXED 40
-
/*
* Return TRUE if "p" starts with "<SID>" or "s:".
* Only works if eval_fname_script() returned non-zero for "p"!
@@ -591,7 +589,7 @@
* Use "fname_buf[FLEN_FIXED + 1]" when it fits, otherwise allocate memory
* (slow).
*/
- static char_u *
+ char_u *
fname_trans_sid(char_u *name, char_u *fname_buf, char_u **tofree, int *error)
{
int llen;