Hirohito Higashi wrote:
> Hi Bram, Dr.Chip and List!
>
> https://groups.google.com/d/topic/vim_dev/BM7DV2fAl9w/discussion
> > Notice:
> > I will send syntax/vim.vim generator made by Vim script in a few weeks.
> > Above contents found by its script.
>
> It is this.
>
> I wrote a syntax/vim.vim generator.
>
> It was embedded in src/Makefile and called src/gen_syntax_vim/Makefile.
> Generator works after generating a binary of vim on src/Makefile.
>
> Contents of src/gen_syntax_vim
> Makefile .............. makefile.
> eval_check.vim ... Script for checking '+eval'.
> gen_syntax_vim.vim ... Generator body script.
> update_date.vim ... Date string update script.
> vim.vim.base ... syntax/vim.vim base file. (This file based on
> Dr.Chip's vim syntax file vim.vim 7.4-36)
>
> Process flow:
> 1. run gen_syntax_vim.vim. Create rc(Release Candidate) file.
> (src/gen_syntax_vim/vim.vim.rc)
> 2. If error, never update runtime/syntax/vim.vim.
> 3. Get diff runtime/syntax/vim.vim and src/gen_syntax_vim/vim.vim.rc without
> date string.
> 4. If differ, Date update and update runtime/syntax/vim.vim.
>
> Note:
> - Generator parse from vim's C source code.
> option: ../option.c
> command: ../ex_cmds.h
> event: ../fileio.c
> built-in function: ../eval.c
> syntax highlight group: ../syntax.c
> - Never update when vim is not have '+eval'
> - Never update when error in gen_syntax_vim.vim script.
> - Neovim already generate syntax/vim.vim automatically.
> https://github.com/neovim/neovim/pull/2288
>
>
> Bram>
> If is the following display by make, Please check and commit
> runtime/syntax/vim.vim.
>
> make[1]: Entering directory '/home/h_east/vim/vim/src/gen_syntax_vim'
> Update ../../runtime/syntax/vim.vim
> make[1]: Leaving directory '/home/h_east/vim/vim/src/gen_syntax_vim'
>
>
> Dr.Chip>
> I want to ask the src/gen_syntax_vim/vim.vim.base of the maintainer, If it is
> possible.
> Generator adds only after "GEN_SYN_VIM:" keywords.
> Please check this file.
>
>
> Sorry for crazy English.
> I want to automate as much as possible strongly.
I know Charles already uses a script to update vim.vim.
I'll leave it up to hime whether he would like to use this instead.
--
hundred-and-one symptoms of being an internet addict:
96. On Super Bowl Sunday, you followed the score by going to the
Yahoo main page instead of turning on the TV.
/// 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.