Implemented assignments
This commit is contained in:
parent
e736a2bde4
commit
c437b1d0f8
5 changed files with 58 additions and 35 deletions
|
@ -48,8 +48,3 @@ func (f *Function) CompileVariableDefinition(expr *expression.Expression) error
|
|||
|
||||
return nil
|
||||
}
|
||||
|
||||
// isVariableDefinition returns true if the expression is a variable definition.
|
||||
func isVariableDefinition(expr *expression.Expression) bool {
|
||||
return expr.Token.Kind == token.Operator && expr.Token.Text() == ":="
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue