[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    Minor thing: mutable not recognised as keyword [20:19,03.07.99]
From:       Marco Schramp <marco () mschramp>
Date:       1999-07-03 18:32:03
[Download RAW message or body]

> Bugreport ID : 20:19,03.07.99

> Originator	: Marco Schramp
> E-Mail	: mschramp@caiw.nl

> Subject : Minor thing: mutable not recognised as keyword

> Error Class	: software bug
> Error Location: editor
> Priority	: low
> Severity	: harmless

> Bug Description ---------------------------

keyword "mutable" in C++ isn't highlighted.

Check the keywords in highlight.cpp.

> How to repeat the error -------------------

create a class
class A
{
    mutable int a;  // Keyword "mutable" not highlighted
    void change() const { a = 3; } // This is valid
}

> Bugfix or Workaround ----------------------

Change in highlist.cpp (line 32):

char *cppTypes[] = { "bool", "const", "mutable", 0 };

> System Information ------------------------

> KDevelop version	: 0.4
> KDE version		: 1.1.1
> QT version		: 1.42
> OS/Distribution	: Linux (Red Hat 5.2)
> Compiler		: egcs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic