generated parse() returns bool status
This commit is contained in:
parent
31c35a9335
commit
bfc4fc59c7
@ -9,8 +9,11 @@ using namespace std;
|
||||
namespace I_NAMESPACE {
|
||||
#endif
|
||||
|
||||
void parse(istream & i)
|
||||
bool I_CLASSNAME::parse(istream & i)
|
||||
{
|
||||
struct { char * name; char * definition; } tokens[] = {
|
||||
I_TOKENLIST
|
||||
};
|
||||
}
|
||||
|
||||
#ifdef I_NAMESPACE
|
||||
|
@ -11,7 +11,7 @@ namespace I_NAMESPACE {
|
||||
class I_CLASSNAME
|
||||
{
|
||||
public:
|
||||
void parse(std::istream & in);
|
||||
bool parse(std::istream & in);
|
||||
|
||||
protected:
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user