token data protected again by default now

This commit is contained in:
Josh Holtrop 2010-06-01 11:53:42 -04:00
parent b689923475
commit 064bb94108
2 changed files with 1 additions and 1 deletions

View File

@ -106,6 +106,7 @@ string TokenDefinition::getClassDefinition() const
ret += " virtual void process(const Matches & matches);\n";
}
ret += "\n";
ret += "protected:\n";
ret += m_data + "\n";
ret += "};\n";
return ret;

View File

@ -156,7 +156,6 @@ class Token : public Node
protected:
int m_type;
public:
{%token_data%}
};
typedef refptr<Token> TokenRef;