Christian Brabandt wrote:

> I got this error with vim 7.2.245 (linux) and Gvim 7.2.148 (Windows):
> 
> chrisbra t41:~ [1023:139]% vim -u NONE -N -c 'for i in range(3) | redir => 
> temp[i] |echo 1| redir END'
> Vim: Caught deadly signal SEGV
> 
> Press ENTER or type command to continueVim: Finished.
> 
> zsh: segmentation fault  vim -u NONE -N -c 'for i in range(3) | redir => 
> temp[i] |echo 1| redir END'
> 
> 
> 
> I would have expected an error, but no SEGV. (E121: undefined variable
> or something).

I can reproduce it.  I'll put it in the todo list.

-- 
LAUNCELOT: I am, sir. I am a Knight of King Arthur.
FATHER:    'Mm ... very nice castle, Camelot ... very good pig country....
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui