Skip to content

Commit bf986c8

Browse files
committed
refact: fix comments
1 parent 0cd16dc commit bf986c8

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/arch/z80/backend/_parray.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ def _pastoref(ins: Quad) -> list[str]:
284284

285285
def _pastorestr(ins: Quad) -> list[str]:
286286
"""Stores a string value into a memory address.
287-
It copies content of 2nd operand (string), into 1st, reallocating
288-
dynamic memory for the 1st str. These instruction DOES ALLOW
287+
It copies the content of the 2nd operand (string), into 1st, reallocating
288+
dynamic memory for the 1st str. These instructions DO ALLOW
289289
immediate strings for the 2nd parameter, starting with '#'.
290290
"""
291291
output = _paddr(ins[1])

src/symbols/sentence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ def args(self):
2929

3030
@property
3131
def token(self):
32-
"""Sentence takes it's token from the keyword not from it's name"""
32+
"""Sentence takes its token from the keyword not from its name"""
3333
return self.keyword

src/zxbc/zxbparser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def make_call(id_: str, lineno: int, args: sym.ARGLIST):
371371
- a(4) can be a string slice if 'a' is a string variable: a$(4)
372372
- a(4) can be an access to an array if 'a' is an array
373373
374-
This function will inspect the id_. If it is undeclared then
374+
This function will inspect the id_. If it is undeclared, then
375375
id_ will be taken as a forwarded function.
376376
"""
377377
if args is None:

0 commit comments

Comments
 (0)