Implement first intrinsics for output
This commit is contained in:
@ -350,10 +350,6 @@ namespace elna::source
|
||||
{
|
||||
tokens.emplace_back(token::type::comma, iterator.position());
|
||||
}
|
||||
else if (*iterator == '?')
|
||||
{
|
||||
tokens.emplace_back(token::type::question_mark, iterator.position());
|
||||
}
|
||||
else if (*iterator == '.')
|
||||
{
|
||||
tokens.emplace_back(token::type::dot, iterator.position());
|
||||
@ -407,6 +403,10 @@ namespace elna::source
|
||||
{
|
||||
tokens.emplace_back(token::type::boolean, 0, iterator.position());
|
||||
}
|
||||
else if (word == "proc")
|
||||
{
|
||||
tokens.emplace_back(token::type::procedure, 0, iterator.position());
|
||||
}
|
||||
else
|
||||
{
|
||||
tokens.emplace_back(token::type::identifier, word.c_str(), iterator.position());
|
||||
|
Reference in New Issue
Block a user