Make the Token ignore property a dynamic property.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE
2016-01-20 17:01:41 +01:00
parent 59b5b4e46e
commit 1c826040e5
6 changed files with 110 additions and 32 deletions

View File

@@ -78,13 +78,7 @@ public:
/// You must not delete the token returned by next().
private:
struct TokenInfo
{
Token* pToken;
bool ignore;
};
typedef std::vector<TokenInfo> TokenVec;
typedef std::vector<Token*> TokenVec;
TokenVec _tokens;
std::istream* _pIstr;