mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
Fix indentation and translation errors in doWrap,
forLoop, ifStatement, and whileLoop functions. Also fix syntax error in broken_funcCall test file.
This commit is contained in:
@@ -63,7 +63,7 @@ func parseForLoop(code UNPARSEcode, index int, codelines []UNPARSEcode) (forLoop
|
||||
}
|
||||
innertotalstep += tostep - 1
|
||||
body := strings.Join(tosplit[i:], ")")
|
||||
bodyval, worked, err, bodystep := translateVal(UNPARSEcode{code: body, realcode: code.realcode, line: code.line, path: code.path}, index, codelines, 1)
|
||||
bodyval, worked, err, bodystep := translateVal(UNPARSEcode{code: body, realcode: code.realcode, line: code.line, path: code.path}, index, codelines, 3)
|
||||
if !worked {
|
||||
if i == 0 {
|
||||
return forLoop{}, worked, err, bodystep
|
||||
|
||||
Reference in New Issue
Block a user