File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ let lines = readfile('ex_cmds.h')
1414let idx = 0
1515while idx < len (lines )
1616 let line = lines [idx]
17- if line = ~ ' ^EX (CMD_'
18- let m = matchlist (line , ' ^EX (CMD_\S*,\s*"\([a-z][^"]*\)"' )
17+ if line = ~ ' ^EXCMD (CMD_'
18+ let m = matchlist (line , ' ^EXCMD (CMD_\S*,\s*"\([a-z][^"]*\)"' )
1919 if len (m ) >= 2
2020 let cmds += [ m [1 ] ]
2121 else
@@ -27,18 +27,18 @@ while idx < len(lines)
2727 let idx += 1
2828 let addr_type = lines [idx]
2929
30- if flags = ~ ' \<RANGE \>'
30+ if flags = ~ ' \<EX_RANGE \>'
3131 if addr_type = ~ ' ADDR_NONE'
32- echoerr ' ex_cmds.h:' .. (idx - 1 ) .. ' : Using RANGE with ADDR_NONE: ' .. line
32+ echoerr ' ex_cmds.h:' .. (idx - 1 ) .. ' : Using EX_RANGE with ADDR_NONE: ' .. line
3333 endif
3434 else
3535 if addr_type !~ ' ADDR_NONE'
36- echoerr ' ex_cmds.h:' .. (idx - 1 ) .. ' : Missing ADDR_NONE: ' .. line
36+ echoerr ' ex_cmds.h:' .. (idx - 1 ) .. ' : Missing ADDR_NONE: ' .. line
3737 endif
3838 endif
3939
40- if flags = ~ ' \<DFLALL \>' && (addr_type = ~ ' ADDR_OTHER' || addr_type = ~ ' ADDR_NONE' )
41- echoerr ' ex_cmds.h:' .. (idx - 1 ) .. ' : Missing misplaced DFLALL : ' .. line
40+ if flags = ~ ' \<EX_DFLALL \>' && (addr_type = ~ ' ADDR_OTHER' || addr_type = ~ ' ADDR_NONE' )
41+ echoerr ' ex_cmds.h:' .. (idx - 1 ) .. ' : Missing misplaced EX_DFLALL : ' .. line
4242 endif
4343 endif
4444 let idx += 1
Original file line number Diff line number Diff line change @@ -777,6 +777,8 @@ static char *(features[]) =
777777
778778static int included_patches [] =
779779{ /* Add new patch number below this line */
780+ /**/
781+ 1672 ,
780782/**/
781783 1671 ,
782784/**/
You can’t perform that action at this time.
0 commit comments