Added array type
This commit is contained in:
@ -83,7 +83,7 @@ func (f *Function) ExpressionToRegister(node *expression.Expression, register cp
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if typ == types.PointerAny && right.Token.Kind == token.Identifier && f.VariableByName(right.Token.Text(f.File.Bytes)).Type == types.PointerAny {
|
||||
if typ == types.AnyPointer && right.Token.Kind == token.Identifier && f.VariableByName(right.Token.Text(f.File.Bytes)).Type == types.AnyPointer {
|
||||
typ = types.Int
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user