Bug#597092: vim: syntax highlighting for anonymous C++ classes deriving from others

Simon Richter sjr at debian.org
Thu Sep 16 14:20:35 UTC 2010


Package: vim
Version: 2:7.3.000+hg~ee53a39d5896-1
Severity: minor

Hi,

when defining an anonymous inner class that derives from an interface,
there is no class name between the keyword "class" and the colon
indicating inheritance, i.e.:

class myclass
{
    class :
        public interface
    {
        ...
    };
};

Syntax highlighting believes "class" to be a label, and uses yellow,
instead of a keyword (green).

   Simon

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vim depends on:
ii  libacl1      2.2.49-3                    Access control list shared library
ii  libc6        2.11.2-6                    Embedded GNU C Library: Shared lib
ii  libgpm2      1.20.4-3.3                  General Purpose Mouse - shared lib
ii  libncurses5  5.7+20100313-3              shared libraries for terminal hand
ii  libselinux1  2.0.96-1                    SELinux runtime shared libraries
ii  vim-common   2:7.3.000+hg~ee53a39d5896-1 Vi IMproved - Common files
ii  vim-runtime  2:7.3.000+hg~ee53a39d5896-1 Vi IMproved - Runtime files

vim recommends no packages.

Versions of packages vim suggests:
pn  ctags                         <none>     (no description available)
pn  vim-doc                       <none>     (no description available)
pn  vim-scripts                   <none>     (no description available)

-- no debconf information





More information about the pkg-vim-maintainers mailing list