token data protected again by default now
This commit is contained in:
parent
b689923475
commit
064bb94108
@ -106,6 +106,7 @@ string TokenDefinition::getClassDefinition() const
|
|||||||
ret += " virtual void process(const Matches & matches);\n";
|
ret += " virtual void process(const Matches & matches);\n";
|
||||||
}
|
}
|
||||||
ret += "\n";
|
ret += "\n";
|
||||||
|
ret += "protected:\n";
|
||||||
ret += m_data + "\n";
|
ret += m_data + "\n";
|
||||||
ret += "};\n";
|
ret += "};\n";
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -156,7 +156,6 @@ class Token : public Node
|
|||||||
protected:
|
protected:
|
||||||
int m_type;
|
int m_type;
|
||||||
|
|
||||||
public:
|
|
||||||
{%token_data%}
|
{%token_data%}
|
||||||
};
|
};
|
||||||
typedef refptr<Token> TokenRef;
|
typedef refptr<Token> TokenRef;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user