Skip to content

Commit cd52459

Browse files
committed
patch 7.4.2055
Problem: eval.c is too big. Solution: Move Dictionary functions to dict.c.
1 parent 42ebd06 commit cd52459

9 files changed

Lines changed: 902 additions & 847 deletions

File tree

Filelist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ SRC_ALL = \
1818
src/charset.c \
1919
src/crypt.c \
2020
src/crypt_zip.c \
21+
src/dict.c \
2122
src/diff.c \
2223
src/digraph.c \
2324
src/edit.c \
@@ -53,6 +54,7 @@ SRC_ALL = \
5354
src/memline.c \
5455
src/menu.c \
5556
src/message.c \
57+
src/message_test.c \
5658
src/misc1.c \
5759
src/misc2.c \
5860
src/move.c \
@@ -125,6 +127,7 @@ SRC_ALL = \
125127
src/proto/charset.pro \
126128
src/proto/crypt.pro \
127129
src/proto/crypt_zip.pro \
130+
src/proto/dict.pro \
128131
src/proto/diff.pro \
129132
src/proto/digraph.pro \
130133
src/proto/edit.pro \

src/Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,6 +1484,7 @@ BASIC_SRC = \
14841484
charset.c \
14851485
crypt.c \
14861486
crypt_zip.c \
1487+
dict.c \
14871488
diff.c \
14881489
digraph.c \
14891490
edit.c \
@@ -1585,6 +1586,7 @@ OBJ_COMMON = \
15851586
objects/charset.o \
15861587
objects/crypt.o \
15871588
objects/crypt_zip.o \
1589+
objects/dict.o \
15881590
objects/diff.o \
15891591
objects/digraph.o \
15901592
objects/edit.o \
@@ -1672,6 +1674,7 @@ PRO_AUTO = \
16721674
charset.pro \
16731675
crypt.pro \
16741676
crypt_zip.pro \
1677+
dict.pro \
16751678
diff.pro \
16761679
digraph.pro \
16771680
edit.pro \
@@ -2806,6 +2809,9 @@ objects/crypt.o: crypt.c
28062809
objects/crypt_zip.o: crypt_zip.c
28072810
$(CCC) -o $@ crypt_zip.c
28082811

2812+
objects/dict.o: dict.c
2813+
$(CCC) -o $@ dict.c
2814+
28092815
objects/diff.o: diff.c
28102816
$(CCC) -o $@ diff.c
28112817

@@ -3182,6 +3188,10 @@ objects/crypt_zip.o: crypt_zip.c vim.h auto/config.h feature.h os_unix.h \
31823188
auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
31833189
regexp.h gui.h gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h proto.h \
31843190
globals.h farsi.h arabic.h
3191+
objects/dict.o: dict.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
3192+
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
3193+
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h proto.h globals.h \
3194+
farsi.h arabic.h
31853195
objects/diff.o: diff.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
31863196
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
31873197
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h proto.h globals.h \

0 commit comments

Comments
 (0)