diff --git a/src/translate.go b/src/translate.go index b7aa27d..00c549a 100644 --- a/src/translate.go +++ b/src/translate.go @@ -79,6 +79,12 @@ func translateVal(code UNPARSEcode, index int, codelines []UNPARSEcode, isLine i return resp, worked, err, i } } + if isAutoAsignVariable(code) { + resp, worked, err, i = parseAutoAsignVariable(code, index, codelines, isLine) + if worked { + return resp, worked, err, i + } + } if isNumber(code) { return parseNumber(code) } else if isString(code) { @@ -97,12 +103,6 @@ func translateVal(code UNPARSEcode, index int, codelines []UNPARSEcode, isLine i return resp, worked, err, i } } - if isAutoAsignVariable(code) { - resp, worked, err, i = parseAutoAsignVariable(code, index, codelines, isLine) - if worked { - return resp, worked, err, i - } - } { operation, worked, err, step := parseOperations(code, index, codelines) if worked {