Commit 213e3642 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2371] define and initialize Token for the lexer.

not actually needed in this branch, but it will clarify the idea of
how it will be used in later tasks.
parent 37d79010
......@@ -54,7 +54,10 @@ typedef boost::shared_ptr<InputSource> InputSourcePtr;
using namespace master_lexer_internal;
struct MasterLexer::MasterLexerImpl {
MasterLexerImpl() : token_(Token::NOT_STARTED) {}
std::vector<InputSourcePtr> sources_;
Token token_;
MasterLexer::MasterLexer() : impl_(new MasterLexerImpl) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment