function! Foo()
    throw 0
endfunction

if 1
    call Foo()
endif


When I execute the above script I get
    E605: Exception not caught: 0
[...]
    line    6:
    E171: Missing :endif

Is the error about the endif a bug ?  In a complicated script
it could send someone on a wild goose chase when no endif is
actually missing.

-- 
You received this message from the "vim_use" 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

Reply via email to