Add call operand
This commit is contained in:
@@ -14,6 +14,7 @@ namespace Token
|
||||
{ "shri", OperandType::ShiftIntegerRight },
|
||||
{ "shli", OperandType::ShiftIntegerLeft },
|
||||
{ "jmp", OperandType::Jump },
|
||||
{ "call", OperandType::CallFunction },
|
||||
{ "lti", OperandType::LessThanInteger },
|
||||
{ "gti", OperandType::GreaterThanInteger },
|
||||
{ "eqi", OperandType::EqualInteger },
|
||||
|
||||
@@ -57,8 +57,8 @@ namespace Token
|
||||
: lineNumber(other.lineNumber),
|
||||
lineColumn(other.lineColumn),
|
||||
type(other.type),
|
||||
isValid(other.isValid),
|
||||
valueType(other.valueType),
|
||||
isValid(other.isValid),
|
||||
data(other.data)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include <map>
|
||||
#include <stdexcept>
|
||||
#include <token/tokenizer.hpp>
|
||||
|
||||
namespace Token
|
||||
|
||||
Reference in New Issue
Block a user