Bug#301736: vim-common: syntax/xml.vim produces E399 error
Marc Wilson
Marc Wilson <msw@cox.net>, 301736@bugs.debian.org
Sun, 27 Mar 2005 16:00:27 -0800
Package: vim-common
Version: 1:6.3-068+1
Severity: normal
The change made to fix #196001 seems to have introduced another problem:
Error detected while processing /usr/share/vim/vim63/syntax/xml.vim:
line 61:
E399: Not enough arguments: syntax region xmlString contained start=+"+ contains=xmlEntity display
line 62:
E399: Not enough arguments: syntax region xmlString contained start=+'+ contains=xmlEntity display
Hit ENTER or type command to continue
Those two lines are currently:
syn region xmlString contained start=+"+ contains=xmlEntity display
syn region xmlString contained start=+'+ contains=xmlEntity display
Shouldn't they actually be:
syn region xmlString contained start=+"+ end=+"+ contains=xmlEntity display
syn region xmlString contained start=+'+ end=+"+ contains=xmlEntity display
I'm certainly no great shakes at writing a syntax file, but I can tell
the existing one isn't right. :)
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages vim-common depends on:
ii vim 1:6.3-068+1 Vi IMproved - enhanced vi editor
-- no debconf information