Skip to content

Commit da861d6

Browse files
committed
patch 7.4.2057
Problem: eval.c is too big. Solution: Move List functions to list.c
1 parent 1abc52c commit da861d6

10 files changed

Lines changed: 940 additions & 892 deletions

File tree

Filelist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ SRC_ALL = \
4444
src/hashtab.c \
4545
src/json.c \
4646
src/json_test.c \
47+
src/list.c \
4748
src/keymap.h \
4849
src/macros.h \
4950
src/main.c \
@@ -146,6 +147,7 @@ SRC_ALL = \
146147
src/proto/hardcopy.pro \
147148
src/proto/hashtab.pro \
148149
src/proto/json.pro \
150+
src/proto/list.pro \
149151
src/proto/main.pro \
150152
src/proto/mark.pro \
151153
src/proto/mbyte.pro \

src/Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,6 +1503,7 @@ BASIC_SRC = \
15031503
if_cscope.c \
15041504
if_xcmdsrv.c \
15051505
json.c \
1506+
list.c \
15061507
main.c \
15071508
mark.c \
15081509
memfile.c \
@@ -1605,6 +1606,7 @@ OBJ_COMMON = \
16051606
$(HANGULIN_OBJ) \
16061607
objects/if_cscope.o \
16071608
objects/if_xcmdsrv.o \
1609+
objects/list.o \
16081610
objects/mark.o \
16091611
objects/memline.o \
16101612
objects/menu.o \
@@ -1699,6 +1701,7 @@ PRO_AUTO = \
16991701
if_ruby.pro \
17001702
if_xcmdsrv.pro \
17011703
json.pro \
1704+
list.pro \
17021705
main.pro \
17031706
mark.pro \
17041707
mbyte.pro \
@@ -2952,6 +2955,9 @@ objects/json.o: json.c
29522955
objects/json_test.o: json_test.c
29532956
$(CCC) -o $@ json_test.c
29542957

2958+
objects/list.o: list.c
2959+
$(CCC) -o $@ list.c
2960+
29552961
objects/main.o: main.c
29562962
$(CCC) -o $@ main.c
29572963

@@ -3264,6 +3270,10 @@ objects/json.o: json.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
32643270
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
32653271
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h proto.h globals.h \
32663272
farsi.h arabic.h
3273+
objects/list.o: list.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
3274+
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
3275+
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h proto.h globals.h \
3276+
farsi.h arabic.h
32673277
objects/main.o: main.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
32683278
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
32693279
gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h proto.h globals.h \

src/dict.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
/*
1111
* dict.c: Dictionary support
1212
*/
13-
#define USING_FLOAT_STUFF
1413

1514
#include "vim.h"
1615

0 commit comments

Comments
 (0)