mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
rewrite variable.go to allow indexed asignment
This commit is contained in:
@@ -26,12 +26,19 @@ func translateVal(code UNPARSEcode, index int, codelines []UNPARSEcode, isLine b
|
||||
if worked {
|
||||
return bracket, worked, err, step
|
||||
}
|
||||
} else if isSetVariable(code) {
|
||||
}
|
||||
if isSetVariable(code) {
|
||||
setvar, worked, err, step := parseSetVariable(code, index, codelines)
|
||||
if worked {
|
||||
return setvar, worked, err, step
|
||||
}
|
||||
}
|
||||
if isAutoAsignVariable(code) {
|
||||
setvar, worked, err, step := parseAutoAsignVariable(code, index, codelines)
|
||||
if worked {
|
||||
return setvar, worked, err, step
|
||||
}
|
||||
}
|
||||
operation, worked, err, step := parseOperations(code, index, codelines)
|
||||
if worked {
|
||||
return operation, worked, err, step
|
||||
|
||||
Reference in New Issue
Block a user