Fix typo in the parser generator (GH-18603)

This commit is contained in:
xatier 2020-03-08 19:58:24 -07:00 committed by GitHub
parent 0911ea5c17
commit d7a04a8425
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ def add_closure(nfa_state, base_nfa_set):
if nfa_arc.label is None:
add_closure(nfa_arc.target, base_nfa_set)
# Calculte the epsilon-closure of the starting state
# Calculate the epsilon-closure of the starting state
base_nfa_set = set()
add_closure(nfa.start, base_nfa_set)