Hi,
I start using semantic for a huge project and it works quite well. But
of course if I send a mail, it's because I see an error.
The error is with the keyword friend. That's quite strange because it
is define in the grammar as far a can see in c.by but it seems it
cannot be parsed. (I say that because it is underline in red)
I paste a small example.
It would be great if friend can be well parsed and event greater if
class B can access to all the members of A.
/////////////friend example
class A
{
public:
int pubVar;
private:
int privateVar;
friend class B;
};
class B
{
public:
int test();
};
int B::test(){
A classA;
classA.
}
///////////////////////////////
Thanks for the great job already done in semantic,
Damien
|