generated parse() returns bool status

This commit is contained in:
Josh Holtrop 2010-05-04 16:12:55 -04:00
parent 31c35a9335
commit bfc4fc59c7
2 changed files with 5 additions and 2 deletions

View File

@ -9,8 +9,11 @@ using namespace std;
namespace I_NAMESPACE { namespace I_NAMESPACE {
#endif #endif
void parse(istream & i) bool I_CLASSNAME::parse(istream & i)
{ {
struct { char * name; char * definition; } tokens[] = {
I_TOKENLIST
};
} }
#ifdef I_NAMESPACE #ifdef I_NAMESPACE

View File

@ -11,7 +11,7 @@ namespace I_NAMESPACE {
class I_CLASSNAME class I_CLASSNAME
{ {
public: public:
void parse(std::istream & in); bool parse(std::istream & in);
protected: protected:
}; };