Add another TODO in lexer.cpp.
This commit is contained in:
parent
eeb4ec2e9c
commit
ea0f3ac037
@ -44,7 +44,7 @@ vector<tok>& lex(const string& in)
|
|||||||
case '"': isLexingString = true; break;
|
case '"': isLexingString = true; break;
|
||||||
case ' ': case '\t': case '\r':
|
case ' ': case '\t': case '\r':
|
||||||
case '\n': separate(); break;
|
case '\n': separate(); break;
|
||||||
default: {
|
default: { // TODO Lex entire identifiers and numbers
|
||||||
tok::type type = getIdentifierCharType(current);
|
tok::type type = getIdentifierCharType(current);
|
||||||
if (type != tok::UNEXPECTED) resVal.emplace_back(type, string(1, current));
|
if (type != tok::UNEXPECTED) resVal.emplace_back(type, string(1, current));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user