patch 8.1.1869: code for the argument list is spread out
Problem: Code for the argument list is spread out.
Solution: Put argument list code in arglist.c. (Yegappan Lakshmanan,
closes #4819)
diff --git a/src/Makefile b/src/Makefile
index 9eff349..5697c28 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1577,6 +1577,7 @@
BASIC_SRC = \
arabic.c \
+ arglist.c \
autocmd.c \
beval.c \
blob.c \
@@ -1704,6 +1705,7 @@
OBJ_COMMON = \
objects/arabic.o \
+ objects/arglist.o \
objects/autocmd.o \
objects/beval.o \
objects/buffer.o \
@@ -1844,6 +1846,7 @@
PRO_AUTO = \
arabic.pro \
+ arglist.pro \
autocmd.pro \
blowfish.pro \
buffer.pro \
@@ -2989,6 +2992,9 @@
objects/arabic.o: arabic.c
$(CCC) -o $@ arabic.c
+objects/arglist.o: arglist.c
+ $(CCC) -o $@ arglist.c
+
objects/autocmd.o: autocmd.c
$(CCC) -o $@ autocmd.c
@@ -3476,6 +3482,10 @@
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
proto.h globals.h
+objects/arglist.o: arglist.c vim.h protodef.h auto/config.h feature.h os_unix.h \
+ auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
+ proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
+ proto.h globals.h
objects/autocmd.o: autocmd.c vim.h protodef.h auto/config.h feature.h os_unix.h \
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \