diff options
Diffstat (limited to 'librelogo')
-rw-r--r-- | librelogo/source/LibreLogo/LibreLogo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/librelogo/source/LibreLogo/LibreLogo.py b/librelogo/source/LibreLogo/LibreLogo.py index 53f62a32f199..93c51d636312 100644 --- a/librelogo/source/LibreLogo/LibreLogo.py +++ b/librelogo/source/LibreLogo/LibreLogo.py @@ -1782,7 +1782,7 @@ def __l2p__(i, par, insub, inarray): atom = i[pos:par["atom"][pos]] par["out"] += atom par["pos"] += len(atom) - # handle subroutines with explicite parentheses + # handle subroutines with explicit parentheses # and array indices if i[par["pos"]:par["pos"]+1] in "([": first = True @@ -1925,7 +1925,7 @@ def __compil__(s): # tokens: {startpos: endpos} dictionaries for subroutine names, operators and other tokens # sub: subroutine tokens = positions of Logo subroutine names - # (without explicite parentheses, for example: "f x" or "f (x*2)", but not "f(x)") + # (without explicit parentheses, for example: "f x" or "f (x*2)", but not "f(x)") sub = {key: value for (key, value) in [j.span() for j in list(subroutines.finditer(i))]} if sub != {}: # op: operator tokens |