generated parse() returns bool status

This commit is contained in:
Josh Holtrop committed 2010-05-04 16:12:55 -04:00
1 parent 31c35a9335
commit bfc4fc59c7
2 files changed
+5 -2

No files matched your search

+4 -1
View File
@@ -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
+1 -1
View File
@@ -11,7 +11,7 @@ namespace I_NAMESPACE {
class I_CLASSNAME
{
public:
void parse(std::istream & in);
bool parse(std::istream & in);
protected:
};