Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions parser/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def visit(self):

def dotatend(self):
'''
checks if we reachs the end if the rule
checks if we reached the end if the rule
'''
if self._closure == len(self.rhs):
return True
Expand All @@ -130,5 +130,5 @@ def movedot(self):
return Rule(self.lhs, self.rhs, self._closure + 1)

def copy(self):
'''ignore colsure and visited attributes'''
'''ignore closure and visited attributes'''
return Rule(self.lhs,self.rhs)