summaryrefslogtreecommitdiff
path: root/librelogo
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-11-05 16:58:15 +0100
committerBartosz Kosiorek <gang65@poczta.onet.pl>2018-11-05 19:29:09 +0100
commit994cf675adac2e9afb48b49b38a36658b3115204 (patch)
tree23c380fb7d5c18534ebd43f00019653f485b324a /librelogo
parentcd7054b5e49f435349860d55bcff5a78d14a5f67 (diff)
Fix typo
Change-Id: I9508839d67e5723db5f9155560fdaef333a689f8 Reviewed-on: https://gerrit.libreoffice.org/62911 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Diffstat (limited to 'librelogo')
-rw-r--r--librelogo/source/LibreLogo/LibreLogo.py4
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