Hi Bram, 2016-1-24(Sun) 23:05:57 UTC+9 Bram Moolenaar: > Hirohito Higashi wrote: > > [...] > > > > I think we need to split this up in pieces anyway, otherwise the patch > > > is too big to review. I don't think there is a reason to remove __ARGS > > > at the same time we update the functions themselves. And updating the > > > functions is a bit more tricky (e.g. adding (void) when there are no > > > arguments), might want to do that one file at a time. > > > > > > A script for this would be very welcome! > > > > Done. > > I attached Vim script file . > > All function declarations convert to ANSI C style, except for the > > following 9 functions. > > > > add_menu_path() [menu.c] > > do_one_cmd() [ex_docmd.c] > > ff_check_visited() [misc2.c] > > ff_create_stack_element() [misc2.c] > > otherfile_buf() [buffer.c] > > parse_tag_line() [tag.c] > > screen_line() [screen.c] > > test_for_current() [tag.c] > > vim_vsnprintf() [message.c] > > > > Please convert manually these functions :-) > > > > I confirmed in Vim 7.4.1161 on fwdora Linux. > > > > How to run the script: > > 1. Place the eliminate__ARGS.vim to the hierarchy on one of the vim > > directory. > > 2. Run > > $ cd vim > > $ vim -Nu NONE -S ../eliminate__ARGS.vim > > > > NOTE: > > It takes considerable time to the execution of the script. > > It took 11 minutes and that's the desktop that I have purchased eight > > years ago. > > > > Please check it. > > Thanks! I'll look into this over the coming week.
Script update. (A bit refactor) It works fine on Vim 7.4.1176. Thanks. -- Best regards, Hirohito Higashi (a.k.a h_east) -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
eliminate__ARGS.vim
Description: Binary data
