Re: Make_mvc.mak cosmetic patch
In message <[EMAIL PROTECTED]> of Sat, 24 Jun 2006 13:53:35 in , Bram Moolenaar <[EMAIL PROTECTED]> writes > >Ilya Bobir wrote: > >> In Make_mvc.make there is such a sequence of characters that is >> understood ok by make but, because of a rough syntax definition, vim >> treats this sequence as a start of a character literal and highlights >> half of the file as a string. Fixing this issue inside syntax >> definition is not that easy, but Make_mvc.mak could be fixed just by >> adding a comment with additional " in it. > >It works even better with # "). > If you do it, I suggest you put in some human-readable explanation. i.e. something like # ") sidestep vim syntax file misanalysis. -- Walter Guy-Briscoe
Re: Make_mvc.mak cosmetic patch
Ilya Bobir wrote: > In Make_mvc.make there is such a sequence of characters that is > understood ok by make but, because of a rough syntax definition, vim > treats this sequence as a start of a character literal and highlights > half of the file as a string. Fixing this issue inside syntax > definition is not that easy, but Make_mvc.mak could be fixed just by > adding a comment with additional " in it. It works even better with # "). -- "Software is like sex... it's better when it's free." -- Linus Torvalds, initiator of the free Linux OS Makes me wonder what FSF stands for...? /// Bram Moolenaar -- [EMAIL PROTECTED] -- 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///
Make_mvc.mak cosmetic patch
Hello. In Make_mvc.make there is such a sequence of characters that is understood ok by make but, because of a rough syntax definition, vim treats this sequence as a start of a character literal and highlights half of the file as a string. Fixing this issue inside syntax definition is not that easy, but Make_mvc.mak could be fixed just by adding a comment with additional " in it. *** Make_mvc.mak26 Apr 2006 23:50:26 - 1.33 --- Make_mvc.mak24 May 2006 22:26:41 - *** *** 960,966 # $CFLAGS may contain backslashes and double quotes, escape them both. E0_CFLAGS = $(CFLAGS:\=\\) ! E_CFLAGS = $(E0_CFLAGS:"=\") $(PATHDEF_SRC): auto @echo creating $(PATHDEF_SRC) --- 960,966 # $CFLAGS may contain backslashes and double quotes, escape them both. E0_CFLAGS = $(CFLAGS:\=\\) ! E_CFLAGS = $(E0_CFLAGS:"=\") #" $(PATHDEF_SRC): auto @echo creating $(PATHDEF_SRC)