I found an inconsistency between the makeprg option in compiler files and
the isfname option when the latter has a space (32) as element.

To reproduce the problem perform the following steps:

      1) start vim via:
            vim -u NONE -U NONE --noplugin
      2) Add space to the isfname option:
            :set isf+=32
      3) Start a compiler whose makeprg option has embedded spaces e.g. to
add command line parameters:
            :compiler fortran_cv

You then will see a message like:

      Error detected while processing c:\Program Files\vim\vim72\compiler
      \fortran_cv.vim:
      line   25:
      E518: Unknown option: /nologo\ /noobj\ /c\ %
      Press ENTER or type command to continue

The Unknown option part ist the rest of the makeprg option value in
fortran_cv.vim following the first space there.

I saw this problem in vim 7.2 and vim 7.2.267.

Regards
Hans-Günter


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

Raspunde prin e-mail lui