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.

-- 
The History of every major Galactic Civilization tends to pass through
three distinct and recognizable phases, those of Survival, Inquiry and
Sophistication, otherwise known as the How, Why and Where phases.
For instance, the first phase is characterized by the question 'How can
we eat?' the second by the question 'Why do we eat?' and the third by
the question 'Where shall we have lunch?'
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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.

Raspunde prin e-mail lui