patch 8.2.1078: highlight and match functionality together in one file
Problem: Highlight and match functionality together in one file.
Solution: Move match functionality to a separate file. (Yegappan Lakshmanan,
closes #6352)
diff --git a/src/Makefile b/src/Makefile
index 354c13f..105820a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1649,6 +1649,7 @@
main.c \
map.c \
mark.c \
+ match.c \
mbyte.c \
memfile.c \
memline.c \
@@ -1797,6 +1798,7 @@
objects/list.o \
objects/map.o \
objects/mark.o \
+ objects/match.o \
objects/mbyte.o \
objects/memline.o \
objects/menu.o \
@@ -1971,6 +1973,7 @@
main.pro \
map.pro \
mark.pro \
+ match.pro \
mbyte.pro \
memfile.pro \
memline.pro \
@@ -3379,6 +3382,9 @@
objects/mark.o: mark.c
$(CCC) -o $@ mark.c
+objects/match.o: match.c
+ $(CCC) -o $@ match.c
+
objects/memfile.o: memfile.c
$(CCC) -o $@ memfile.c
@@ -3965,6 +3971,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/match.o: match.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/mbyte.o: mbyte.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 \