|
From: | cylin |
Subject: | How to access class mebers ? |
Date: | Wed, 28 Jan 2004 11:31:28 +0800 |
Dear all,
I am a newcomer to use flex.
Please help,thanks.
I have a class,for example:
class A {
public:
yyFlexLexer*
m_poLexer;
int age;
char* name;
public:
A();
~A();
}
How can I assign values to age and name
in the c++ output file generated by
flex?
Or how should I write the actions in the lex
file?
Regards,
cylin.
|
[Prev in Thread] | Current Thread | [Next in Thread] |