[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: C++ Parser, add your own macros here, no documentation? how to use?
From: Tobias Erbsland <terbsland () printsoft ! ch>
Date: 2005-03-18 9:49:50
Message-ID: 200503181049.50251.terbsland () printsoft ! ch
[Download RAW message or body]
Hello
I wrote a serializer for a c++ project. The serializer requires two additions
to the class definition:
class X : public SerializableObject
{
SERIALIZABLE_OBJECT( X );
public:
(...)
private:
SERIALIZE int a;
SERIALIZE int b;
};
But the syntax parser complains always about the "SERIALIZE" macro, that is
defined as "#define SERIALIZE".
How can i teach the parser about the macro SERIALIZE. And btw, is there a easy
way to add SERIALIZABLE_OBJECT and SERIALIZE as new "user keyword" to the
syntax highlightling? Thats possible in many other IDE's.
best regards
Tobias
_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic