Fix typos in comments
This commit is contained in:
parent
2afe0a4475
commit
9c125a26db
|
@ -1792,7 +1792,7 @@ class XCodeBackend(backends.Backend):
|
||||||
header_arr = PbxArray()
|
header_arr = PbxArray()
|
||||||
for i in header_dirs:
|
for i in header_dirs:
|
||||||
np = os.path.normpath(i)
|
np = os.path.normpath(i)
|
||||||
# Make sure Xcode will not split single path into separate entries, escaping space with a slash is not enought
|
# Make sure Xcode will not split single path into separate entries, escaping space with a slash is not enough
|
||||||
item = f'"\\\"{np}\\\""' if ' ' in np else f'"{np}"'
|
item = f'"\\\"{np}\\\""' if ' ' in np else f'"{np}"'
|
||||||
header_arr.add_item(item)
|
header_arr.add_item(item)
|
||||||
return header_arr
|
return header_arr
|
||||||
|
|
|
@ -1102,7 +1102,7 @@ class Parser:
|
||||||
e.ast = block
|
e.ast = block
|
||||||
raise
|
raise
|
||||||
|
|
||||||
# Remaining whitespaces will not be catched since there are no more nodes
|
# Remaining whitespaces will not be caught since there are no more nodes
|
||||||
for ws_token in self.current_ws:
|
for ws_token in self.current_ws:
|
||||||
block.append_whitespaces(ws_token)
|
block.append_whitespaces(ws_token)
|
||||||
self.current_ws = []
|
self.current_ws = []
|
||||||
|
|
|
@ -100,7 +100,7 @@ if sys.version_info >= (3, 2):
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# pypy supports modules targetting the limited api but
|
# pypy supports modules targeting the limited api but
|
||||||
# does not use a special suffix to distinguish them:
|
# does not use a special suffix to distinguish them:
|
||||||
# https://doc.pypy.org/en/latest/cpython_differences.html#permitted-abi-tags-in-extensions
|
# https://doc.pypy.org/en/latest/cpython_differences.html#permitted-abi-tags-in-extensions
|
||||||
if is_pypy:
|
if is_pypy:
|
||||||
|
|
Loading…
Reference in New Issue