I've been using semantic for a little while, and I have run into a
problem with my C++ classes.
As I am sure you all know, when developing for windows, you export
classes from dll's by using this construct:
class __declspec(dllexport) classname
and similarly you import with:
class __declspec(dllimport) classname
The __declspec() causes semantic to underline the entire contents of the
class declaration (which is kind of unreadable), presumably because it
looks like garbage to it.
In addition, I develop for cross-platform applications, so I actually
have a macro for the import/export, so that depending on the target
(.exe or .dll) the macro (on win32) is:
#define EXPORT_DECL __declspec(dllexport)
#define EXPORT_DECL __declspec(dllimport)
I have taken a poke around in c.bnf, but I cannot see any obvious place
to add something to handle the case, and I am a pretty weak lisp
It seems that what is needed is a generalized mechanism for handling an
arbitrary token (defined through some add-to-list?) after the class keyword.
Your favorite stores, helpful shopping tools and great gift ideas.
Experience the convenience of buying online with Shop@...!