patch 8.2.0847: typval related code is spread out
Problem: Typval related code is spread out.
Solution: Move code to new typval.c file. (Yegappan Lakshmanan, closes #6093)
diff --git a/src/Makefile b/src/Makefile
index 9b50eca..c4bce68 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1686,6 +1686,7 @@
textobject.c \
textprop.c \
time.c \
+ typval.c \
ui.c \
undo.c \
usercmd.c \
@@ -1830,6 +1831,7 @@
objects/textobject.o \
objects/textprop.o \
objects/time.o \
+ objects/typval.o \
objects/ui.o \
objects/undo.o \
objects/usercmd.o \
@@ -2006,6 +2008,7 @@
textobject.pro \
textprop.pro \
time.pro \
+ typval.pro \
ui.pro \
undo.pro \
usercmd.pro \
@@ -3496,6 +3499,9 @@
objects/time.o: time.c
$(CCC) -o $@ time.c
+objects/typval.o: typval.c
+ $(CCC) -o $@ typval.c
+
objects/ui.o: ui.c
$(CCC) -o $@ ui.c
@@ -4098,6 +4104,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/typval.o: typval.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/ui.o: ui.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 \