[Bug 889553] Re: make.vim fails to recognize valid makeIdent with dashes during assignment

Will Gray 889553 at bugs.launchpad.net
Tue Apr 10 16:58:57 UTC 2012


Well, the GNU make manual says "variable names containing characters
other than letters, numbers, and underscores should be avoided, as they
may be given special meanings in the future, and with some shells they
cannot be passed through the environment to a sub-make".

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/889553

Title:
  make.vim fails to recognize valid makeIdent with dashes during
  assignment

Status in “vim” package in Ubuntu:
  New

Bug description:
  1. Create a Makefile with a variable that has dashes:
  foo-bar=baz
  $(foo-bar):

  2. Observe that syntax highlighting fails for assignment, but $(foo-bar) is highlighted correctly.
  3. Apply the attached patch; restart vim; observe that the bug is fixed (root cause: the \w pattern excludes dashes).

  The bug definitely exists in 10.04 and 11.10. I'm guessing it's
  universal. If you need exact packages:

  2:7.2.330-1ubuntu3 (ubuntu 10.04, amd64)
  2:7.3.154+hg~74503f6ee649-2ubuntu3  (ubuntu 11.10, i386)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/889553/+subscriptions




More information about the foundations-bugs mailing list