class base_token
{
public:
typedef enum { t_invalid_token=0, t_symbol, t_integer, t_literal,
t_punctuation, t_keyword
} type_of_token;
private:
type_of_token token_type;
public:
base_token(type_of_token token) : token_type(token) { };
type_of_token get_type() { return token_type; };
virtual const char * parse_token(const char * s) = 0;
};
This line is telling you what (syntax)?
base_token(type_of_token token) : token_type(token) { };