Re: vim script equivalent of C __FILE__, __LINE__, __func__?
- Britton Kerin wrote:
> I like to debug C using these. Does vim have some equivalent?I don't think this is available. Surprising nobody asked for this.
> Of course its a bit more challenging to implement than in C...
> what I really want is to get a right light number for run time
> die statement or error in perl. I was going to write a die
> handler to give an actual script line number for embedded
> perl rather than eval line number, but I don't want to hard-code
> file names into files.
Since we have <sfile> it would be logical to add <slnum>.
I'll make a patch for that.
Kiss me twice. I'm schizophrenic.
/// Bram Moolenaar -- Bram@... -- 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