fix do wrap bugs

This commit is contained in:
2023-03-11 02:06:36 +00:00
parent 597be4e0df
commit f5d8eb6d70
5 changed files with 18 additions and 16 deletions

View File

@@ -18,7 +18,7 @@ func isDoWrap(code UNPARSEcode) bool {
}
func parseDoWrap(code UNPARSEcode, index int, codelines []UNPARSEcode) (any, bool, ArErr, int) {
currentindent := len(code.code) - len(strings.TrimLeft(code.code, " "))
currentindent := len(code.realcode) - len(strings.TrimLeft(code.realcode, " "))
var setindent int = -1
var i = index + 1
translated := []any{}