patch 8.2.1269: language and locale code spread out
Problem: Language and locale code spread out.
Solution: Move relevant code to src/locale.c. (Yegappan Lakshmanan,
closes #6509)
diff --git a/src/Makefile b/src/Makefile
index bac4e12..8ac7dc5 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1647,6 +1647,7 @@
insexpand.c \
json.c \
list.c \
+ locale.c \
main.c \
map.c \
mark.c \
@@ -1798,6 +1799,7 @@
objects/indent.o \
objects/insexpand.o \
objects/list.o \
+ objects/locale.o \
objects/map.o \
objects/mark.o \
objects/match.o \
@@ -1973,6 +1975,7 @@
insexpand.pro \
json.pro \
list.pro \
+ locale.pro \
main.pro \
map.pro \
mark.pro \
@@ -3378,6 +3381,9 @@
objects/list.o: list.c
$(CCC) -o $@ list.c
+objects/locale.o: locale.c
+ $(CCC) -o $@ locale.c
+
objects/main.o: main.c
$(CCC) -o $@ main.c
@@ -3968,6 +3974,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/locale.o: locale.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/main.o: main.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 \