Re: about Feature: reserved keyword recognition

Oliver Kellogg <[email protected]> Tue, 3 Jun 2008 20:03:27 +0200
Newsgroups gmane.linux.umbrello.user
Message-ID <[email protected]>
On Monday 02 June 2008 17:27, Marleine Daoud wrote:
>
> In Umbrello 1.3 (KDE 3.3, August 2004), there's a feature called: "reserved
> keyword recognition". What does this mean exactly?

As far as I can tell from the source code, it means that Umbrello will refuse
to create an object (e.g. class or method) when the given name collides
with a keyword of the active programming language.
For example, if your active language is C++ then Umbrello will refuse
to create a class named "friend" because that happens to be one of the
C++ reserved words.

--Oliver

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/